f1module Cisco-IOS-XR-um-router-ospf-cfg {f1module Cisco-IOS-XR-um-router-ospf-cfg {
2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-ospf-cfg";2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-ospf-cfg";
3  prefix um-router-ospf-cfg;3  prefix um-router-ospf-cfg;
44
5  import cisco-semver {5  import cisco-semver {
6    prefix semver;6    prefix semver;
7  }7  }
8  import Cisco-IOS-XR-types {8  import Cisco-IOS-XR-types {
9    prefix xr;9    prefix xr;
10  }10  }
11  import ietf-inet-types {11  import ietf-inet-types {
12    prefix inet;12    prefix inet;
13  }13  }
14  import Cisco-IOS-XR-um-snmp-server-cfg {14  import Cisco-IOS-XR-um-snmp-server-cfg {
15    prefix a1;15    prefix a1;
16  }16  }
17  import tailf-common {17  import tailf-common {
18    prefix tailf;18    prefix tailf;
19  }19  }
2020
21  organization21  organization
22    "Cisco Systems, Inc.";22    "Cisco Systems, Inc.";
23  contact23  contact
24    "Cisco Systems, Inc.24    "Cisco Systems, Inc.
25     Customer Service25     Customer Service
26     26     
27     Postal: 170 West Tasman Drive27     Postal: 170 West Tasman Drive
28     San Jose, CA 9513428     San Jose, CA 95134
29     29     
30     Tel: +1 800 553-NETS30     Tel: +1 800 553-NETS
31     31     
32     E-mail: cs-yang@cisco.com";32     E-mail: cs-yang@cisco.com";
33  description33  description
34    "This module contains a collection of YANG definitions34    "This module contains a collection of YANG definitions
35     for Cisco IOS-XR router-ospf package configuration.35     for Cisco IOS-XR router-ospf package configuration.
36     36     
37     This YANG module augments the37     This YANG module augments the
38     modules with configuration data.38     modules with configuration data.
39     39     
40     Copyright (c) 2019-2023 by Cisco Systems, Inc.40     Copyright (c) 2019-2023 by Cisco Systems, Inc.
41     All rights reserved.";41     All rights reserved.";
4242
43  revision 2023-02-21 {43  revision 2023-02-21 {
44    description44    description
n45      "Reference Bandwidth range modificationn45      "Reference Bandwidth range modification";
46       2023-01-1846  }
47  revision 2023-01-18 {
48    description
47         Must conditions and Mandatory statements addition for49      "Must conditions and Mandatory statements addition for
48       Max-external LSA and Exchange timer containers inside VRF50       Max-external LSA and Exchange timer containers inside VRF";
49       2022-12-0151  }
52  revision 2022-12-01 {
53    description
50         Added options to configure maximum count of external LSAs54      "Added options to configure maximum count of external LSAs
51       and exchange timer values55       and exchange timer values";
52       2022-09-2156  }
57  revision 2022-09-21 {
58    description
53         Max-lsa ignore-time and reset-time range modification59      "Max-lsa ignore-time and reset-time range modification";
54       2022-09-0960  }
61  revision 2022-09-09 {
62    description
55         Added CLI Config for follow-on timer under distribute link-state63      "Added CLI Config for follow-on timer under distribute link-state";
56       2022-07-1264  }
65  revision 2022-07-12 {
66    description
57         Added container srlg under flex-algo67      "Added container srlg under flex-algo";
58       2022-07-1168  }
69  revision 2022-07-11 {
70    description
59         Added missing description statement to nodes71      "Added missing description statement to nodes";
60       2022-06-0772  }
73  revision 2022-06-07 {
74    description
61         Added new options excl-external and allow-prefix under distribute link-state,75      "Added new options excl-external and allow-prefix under distribute link-state,
62       Added distribute link-state under ospf area level76        Added distribute link-state under ospf area level";
63       2021-12-2977  }
78  revision 2021-12-29 {
79    description
64         Added ietf-strict-lsa-checking next to container ietf,80      "Added ietf-strict-lsa-checking next to container ietf,
65       Added container neighbors under multi-area-interface";81        Added container neighbors under multi-area-interface";
66    semver:module-version "5.0.0";
67  }82  }
68  revision 2021-10-04 {83  revision 2021-10-04 {
69    description84    description
n70      "Updated apply-weight containern85      "Updated apply-weight container";
71       2021-09-1586  }
87  revision 2021-09-15 {
88    description
72          Added prefix-metric under flex-alogo89      "Added prefix-metric under flex-alogo
73        and added container lls/disable under capability90       and added container lls/disable under capability";
74       2021-06-1591  }
92  revision 2021-06-15 {
93    description
75          Added leaf use-interface-bandwidth, modified leaf bandwidth name to leaf reference94      "Added leaf use-interface-bandwidth, modified leaf bandwidth name to leaf reference
76        and added mandatory for all the three leafs  under container apply-weight ";95       and added mandatory for all the three leafs  under container apply-weight ";
77    semver:module-version "4.0.0";
78  }96  }
79  revision 2021-03-26 {97  revision 2021-03-26 {
80    description98    description
n81      "Added leaf dead-interval-minimal-hello-multipliern99      "Added leaf dead-interval-minimal-hello-multiplier ";
82       2021-02-10100  }
101  revision 2021-02-10 {
102    description
83           Added disable container in area_scope link-down fast-detect container103      "Added disable container in area_scope link-down fast-detect container ";
84       2021-01-08104  }
105  revision 2021-01-08 {
106    description
85           Added microloop avoidance disable in flex-algos container107      "Added microloop avoidance disable in flex-algos container ";
86       2020-12-24108  }
109  revision 2020-12-24 {
110    description
87           Added cost-fallback anomaly container111      "Added cost-fallback anomaly container ";
88       2020-09-28112  }
113  revision 2020-09-28 {
114    description
89           - Changed log/adjacency/changes container as presence115      "- Changed log/adjacency/changes container as presence";
90       2020-05-22116  }
117  revision 2020-05-22 {
118    description
91           - Added container fast-reroute and its child nodes";119      "- Added container fast-reroute and its child nodes";
92    semver:module-version "3.0.0";
93  }120  }
94  revision 2020-05-21 {121  revision 2020-05-21 {
95    description122    description
t96      "- Added container srlg-protection and its child nodest123      "- Added container srlg-protection and its child nodes";
97       2020-05-06124  }
125  revision 2020-05-06 {
126    description
98       - Added container srlg and delay and its child nodes127      "- Added container srlg and delay and its child nodes
99       - Added container advertise to its child nodes128       - Added container advertise to its child nodes";
100       2020-03-10129  }
130  revision 2020-03-10 {
131    description
101         Made separate nodes for avoidance-rib-update-delay and ietf-helper";132      "Made separate nodes for avoidance-rib-update-delay and ietf-helper";
102    semver:module-version "2.0.0";
103  }133  }
104  revision 2019-06-10 {134  revision 2019-06-10 {
105    description135    description
106      "Establish semantic version baseline.";136      "Establish semantic version baseline.";
107    semver:module-version "1.0.0";137    semver:module-version "1.0.0";
108  }138  }
109  revision 2019-03-30 {139  revision 2019-03-30 {
110    description140    description
111      "Initial version";141      "Initial version";
112  }142  }
113143
114  augment "/a1:snmp-server/a1:traps" {144  augment "/a1:snmp-server/a1:traps" {
115    description145    description
116      "This augment extends snmp-server traps nodes146      "This augment extends snmp-server traps nodes
117       configuration";147       configuration";
118    container ospf {148    container ospf {
119      description149      description
120        "Enable SNMP ospf traps";150        "Enable SNMP ospf traps";
121      container errors {151      container errors {
122        description152        description
123          "Enable SNMP traps for ospf errors";153          "Enable SNMP traps for ospf errors";
124        container authentication-failure {154        container authentication-failure {
125          presence "Indicates a authentication-failure node is configured.";155          presence "Indicates a authentication-failure node is configured.";
126          description156          description
127            "Enable SNMP traps for authentication failure errors on non-virtual interfaces";157            "Enable SNMP traps for authentication failure errors on non-virtual interfaces";
128        }158        }
129        container bad-packet {159        container bad-packet {
130          presence "Indicates a bad-packet node is configured.";160          presence "Indicates a bad-packet node is configured.";
131          description161          description
132            "Enable SNMP traps for bad packet errors on non-virtual interfaces";162            "Enable SNMP traps for bad packet errors on non-virtual interfaces";
133        }163        }
134        container config-error {164        container config-error {
135          presence "Indicates a config-error node is configured.";165          presence "Indicates a config-error node is configured.";
136          description166          description
137            "Enable SNMP traps for config errors on non-virtual interfaces";167            "Enable SNMP traps for config errors on non-virtual interfaces";
138        }168        }
139        container virt-authentication-failure {169        container virt-authentication-failure {
140          presence "Indicates a virt-authentication-failure node is configured.";170          presence "Indicates a virt-authentication-failure node is configured.";
141          description171          description
142            "Enable SNMP traps for authentication failure errors on virtual interfaces";172            "Enable SNMP traps for authentication failure errors on virtual interfaces";
143        }173        }
144        container virt-bad-packet {174        container virt-bad-packet {
145          presence "Indicates a virt-bad-packet node is configured.";175          presence "Indicates a virt-bad-packet node is configured.";
146          description176          description
147            "Enable SNMP traps for bad packet errors on virtual interfaces";177            "Enable SNMP traps for bad packet errors on virtual interfaces";
148        }178        }
149        container virt-config-error {179        container virt-config-error {
150          presence "Indicates a virt-config-error node is configured.";180          presence "Indicates a virt-config-error node is configured.";
151          description181          description
152            "Enable SNMP traps for config errors on virtual interfaces";182            "Enable SNMP traps for config errors on virtual interfaces";
153        }183        }
154      }184      }
155      container lsa {185      container lsa {
156        description186        description
157          "Enable SNMP traps related to lsas";187          "Enable SNMP traps related to lsas";
158        container lsa-maxage {188        container lsa-maxage {
159          presence "Indicates a lsa-maxage node is configured.";189          presence "Indicates a lsa-maxage node is configured.";
160          description190          description
161            "Enable SNMP traps for lsa maxage";191            "Enable SNMP traps for lsa maxage";
162        }192        }
163        container lsa-originate {193        container lsa-originate {
164          presence "Indicates a lsa-originate node is configured.";194          presence "Indicates a lsa-originate node is configured.";
165          description195          description
166            "Enable SNMP traps for new lsa origination";196            "Enable SNMP traps for new lsa origination";
167        }197        }
168      }198      }
169      container retransmit {199      container retransmit {
170        description200        description
171          "Enable SNMP traps for packet retransmissions";201          "Enable SNMP traps for packet retransmissions";
172        container packets {202        container packets {
173          presence "Indicates a packets node is configured.";203          presence "Indicates a packets node is configured.";
174          description204          description
175            "Enable SNMP traps for packet retransmissions on non-virtual interfaces";205            "Enable SNMP traps for packet retransmissions on non-virtual interfaces";
176        }206        }
177        container virt-packets {207        container virt-packets {
178          presence "Indicates a virt-packets node is configured.";208          presence "Indicates a virt-packets node is configured.";
179          description209          description
180            "Enable SNMP traps for packet retransmissions on virtual interfaces";210            "Enable SNMP traps for packet retransmissions on virtual interfaces";
181        }211        }
182      }212      }
183      container state-change {213      container state-change {
184        description214        description
185          "Enable SNMP traps for ospf state change";215          "Enable SNMP traps for ospf state change";
186        container if-state-change {216        container if-state-change {
187          presence "Indicates a if-state-change node is configured.";217          presence "Indicates a if-state-change node is configured.";
188          description218          description
189            "Enable SNMP traps for ospf non-virtual interface state change";219            "Enable SNMP traps for ospf non-virtual interface state change";
190        }220        }
191        container neighbor-state-change {221        container neighbor-state-change {
192          presence "Indicates a neighbor-state-change node is configured.";222          presence "Indicates a neighbor-state-change node is configured.";
193          description223          description
194            "Enable SNMP traps for ospf neighbor state change";224            "Enable SNMP traps for ospf neighbor state change";
195        }225        }
196        container virtif-state-change {226        container virtif-state-change {
197          presence "Indicates a virtif-state-change node is configured.";227          presence "Indicates a virtif-state-change node is configured.";
198          description228          description
199            "Enable SNMP traps for ospf virtual interface state change";229            "Enable SNMP traps for ospf virtual interface state change";
200        }230        }
201        container virtneighbor-state-change {231        container virtneighbor-state-change {
202          presence "Indicates a virtneighbor-state-change node is configured.";232          presence "Indicates a virtneighbor-state-change node is configured.";
203          description233          description
204            "Enable SNMP traps for ospf virtual neighbor state change";234            "Enable SNMP traps for ospf virtual neighbor state change";
205        }235        }
206      }236      }
207    }237    }
208  }238  }
209  container ospf {239  container ospf {
210    description240    description
211      "Global OSPF configuration commands";241      "Global OSPF configuration commands";
212    container name-lookup {242    container name-lookup {
213      presence "Indicates a name-lookup node is configured.";243      presence "Indicates a name-lookup node is configured.";
214      description244      description
215        "Display OSPF router ids as DNS names";245        "Display OSPF router ids as DNS names";
216    }246    }
217  }247  }
218  container router {248  container router {
219    description249    description
220      "Enable a routing process";250      "Enable a routing process";
221    container ospf {251    container ospf {
222      description252      description
223        "OSPF configuration subcommands";253        "OSPF configuration subcommands";
224      container processes {254      container processes {
225        description255        description
226          "Name for this OSPF process";256          "Name for this OSPF process";
227        list process {257        list process {
228          key "process-name";258          key "process-name";
229          description259          description
230            "Name for this OSPF process";260            "Name for this OSPF process";
231          leaf process-name {261          leaf process-name {
232            type xr:Cisco-ios-xr-string {262            type xr:Cisco-ios-xr-string {
233              length "1..32" {263              length "1..32" {
234                description264                description
235                  "Name for this OSPF process";265                  "Name for this OSPF process";
236              }266              }
237            }267            }
238            description268            description
239              "Name for this OSPF process";269              "Name for this OSPF process";
240          }270          }
241          container mpls {271          container mpls {
242            description272            description
243              "Configure MPLS routing protocol parameters";273              "Configure MPLS routing protocol parameters";
244            container traffic-eng {274            container traffic-eng {
245              description275              description
246                "Routing protocol commands for MPLS Traffic Engineering";276                "Routing protocol commands for MPLS Traffic Engineering";
247              container router-id {277              container router-id {
248                description278                description
249                  "Traffic Engineering stable IP address for system";279                  "Traffic Engineering stable IP address for system";
250                leaf ip-address {280                leaf ip-address {
251                  type inet:ipv4-address-no-zone;281                  type inet:ipv4-address-no-zone;
252                  must "not(../interface)";282                  must "not(../interface)";
253                  description283                  description
254                    "configure this node";284                    "configure this node";
255                }285                }
256                leaf interface {286                leaf interface {
257                  type xr:Interface-name;287                  type xr:Interface-name;
258                  must "not(../ip-address)";288                  must "not(../ip-address)";
259                  description289                  description
260                    "MPLS TE interface configuration for this OSPF process";290                    "MPLS TE interface configuration for this OSPF process";
261                }291                }
262              }292              }
263              container multicast-intact {293              container multicast-intact {
264                presence "Indicates a multicast-intact node is configured.";294                presence "Indicates a multicast-intact node is configured.";
265                description295                description
266                  "Publish multicast-intact paths to RIB";296                  "Publish multicast-intact paths to RIB";
267              }297              }
268              container autoroute-exclude {298              container autoroute-exclude {
269                description299                description
270                  "Exclude IP address destinations from using TE tunnels";300                  "Exclude IP address destinations from using TE tunnels";
271                leaf route-policy {301                leaf route-policy {
272                  type xr:Route-policy-name;302                  type xr:Route-policy-name;
273                  description303                  description
274                    "Route Policy to exclude TE paths from routes";304                    "Route Policy to exclude TE paths from routes";
275                }305                }
276              }306              }
277              container igp-intact {307              container igp-intact {
278                presence "Indicates a igp-intact node is configured.";308                presence "Indicates a igp-intact node is configured.";
279                description309                description
280                  "Retain one or more IPv4 nexthops with tunnel nexthops";310                  "Retain one or more IPv4 nexthops with tunnel nexthops";
281              }311              }
282              container ldp-sync-update {312              container ldp-sync-update {
283                presence "Indicates a ldp-sync-update node is configured.";313                presence "Indicates a ldp-sync-update node is configured.";
284                description314                description
285                  "Enable LDP sync induced metric propagation";315                  "Enable LDP sync induced metric propagation";
286              }316              }
287            }317            }
288            container ldp {318            container ldp {
289              description319              description
290                "Configure LDP parameters";320                "Configure LDP parameters";
291              container sync {321              container sync {
292                presence "Indicates a sync node is configured.";322                presence "Indicates a sync node is configured.";
293                description323                description
294                  "Enable LDP IGP synchronization";324                  "Enable LDP IGP synchronization";
295              }325              }
296              container sync-igp-shortcuts {326              container sync-igp-shortcuts {
297                presence "Indicates a sync-igp-shortcuts node is configured.";327                presence "Indicates a sync-igp-shortcuts node is configured.";
298                description328                description
299                  "LDP sync for igp-shortcut tunnels";329                  "LDP sync for igp-shortcut tunnels";
300              }330              }
301              container auto-config {331              container auto-config {
302                presence "Indicates a auto-config node is configured.";332                presence "Indicates a auto-config node is configured.";
303                description333                description
304                  "Enable LDP IGP interface auto-configuration";334                  "Enable LDP IGP interface auto-configuration";
305              }335              }
306            }336            }
307          }337          }
308          leaf cost {338          leaf cost {
309            type uint32 {339            type uint32 {
310              range "1..65535" {340              range "1..65535" {
311                description341                description
312                  "Cost";342                  "Cost";
313              }343              }
314            }344            }
315            description345            description
316              "Interface cost";346              "Interface cost";
317          }347          }
318          container cost-fallback {348          container cost-fallback {
319            description349            description
320              "Cost fallback when anomaly is detected";350              "Cost fallback when anomaly is detected";
321            container anomaly {351            container anomaly {
322              description352              description
323                "Penalty when a delay or loss is notified";353                "Penalty when a delay or loss is notified";
324              container delay {354              container delay {
325                description355                description
326                  "Penalty when a delay is notified";356                  "Penalty when a delay is notified";
327                container igp-metric {357                container igp-metric {
328                  description358                  description
329                    "Penalty on IGP metric";359                    "Penalty on IGP metric";
330                  leaf increment {360                  leaf increment {
331                    type uint32 {361                    type uint32 {
332                      range "1..65534" {362                      range "1..65534" {
333                        description363                        description
334                          "Increment by this value";364                          "Increment by this value";
335                      }365                      }
336                    }366                    }
337                    must "not(../multiplier or ../value)";367                    must "not(../multiplier or ../value)";
338                    description368                    description
339                      "Increment the IGP cost by the specified value";369                      "Increment the IGP cost by the specified value";
340                  }370                  }
341                  leaf multiplier {371                  leaf multiplier {
342                    type uint32 {372                    type uint32 {
343                      range "1..255" {373                      range "1..255" {
344                        description374                        description
345                          "Multiply by this value";375                          "Multiply by this value";
346                      }376                      }
347                    }377                    }
348                    must "not(../increment or ../value)";378                    must "not(../increment or ../value)";
349                    description379                    description
350                      "Multiply the IGP cost by the specified value";380                      "Multiply the IGP cost by the specified value";
351                  }381                  }
352                  leaf value {382                  leaf value {
353                    type uint32 {383                    type uint32 {
354                      range "1..65535" {384                      range "1..65535" {
355                        description385                        description
356                          "Set to this value";386                          "Set to this value";
357                      }387                      }
358                    }388                    }
359                    must "not(../increment or ../multiplier)";389                    must "not(../increment or ../multiplier)";
360                    description390                    description
361                      "Set the IGP cost to the specified value";391                      "Set the IGP cost to the specified value";
362                  }392                  }
363                }393                }
364                container te-metric {394                container te-metric {
365                  description395                  description
366                    "Penalty on TE metric";396                    "Penalty on TE metric";
367                  leaf increment {397                  leaf increment {
368                    type uint32 {398                    type uint32 {
369                      range "1..4294967294" {399                      range "1..4294967294" {
370                        description400                        description
371                          "Increment by this value";401                          "Increment by this value";
372                      }402                      }
373                    }403                    }
374                    must "not(../multiplier or ../value)";404                    must "not(../multiplier or ../value)";
375                    description405                    description
376                      "Increment the TE metric by the specified value";406                      "Increment the TE metric by the specified value";
377                  }407                  }
378                  leaf multiplier {408                  leaf multiplier {
379                    type uint32 {409                    type uint32 {
380                      range "1..255" {410                      range "1..255" {
381                        description411                        description
382                          "Multiply by this value";412                          "Multiply by this value";
383                      }413                      }
384                    }414                    }
385                    must "not(../increment or ../value)";415                    must "not(../increment or ../value)";
386                    description416                    description
387                      "Multiply the TE metric by the specified value";417                      "Multiply the TE metric by the specified value";
388                  }418                  }
389                  leaf value {419                  leaf value {
390                    type uint32 {420                    type uint32 {
391                      range "1..4294967295" {421                      range "1..4294967295" {
392                        description422                        description
393                          "Set to this value";423                          "Set to this value";
394                      }424                      }
395                    }425                    }
396                    must "not(../increment or ../multiplier)";426                    must "not(../increment or ../multiplier)";
397                    description427                    description
398                      "Set the TE cost to the specified value";428                      "Set the TE cost to the specified value";
399                  }429                  }
400                }430                }
401              }431              }
402            }432            }
403          }433          }
404          leaf hello-interval {434          leaf hello-interval {
405            type uint32 {435            type uint32 {
406              range "1..65535" {436              range "1..65535" {
407                description437                description
408                  "Seconds";438                  "Seconds";
409              }439              }
410            }440            }
411            description441            description
412              "Time between HELLO packets";442              "Time between HELLO packets";
413          }443          }
414          leaf dead-interval {444          leaf dead-interval {
415            type uint32 {445            type uint32 {
416              range "1..65535" {446              range "1..65535" {
417                description447                description
418                  "Seconds";448                  "Seconds";
419              }449              }
420            }450            }
421            must "not(../dead-interval-minimal-hello-multiplier)";451            must "not(../dead-interval-minimal-hello-multiplier)";
422            description452            description
423              "Interval after which a neighbor is declared dead";453              "Interval after which a neighbor is declared dead";
424          }454          }
425          leaf dead-interval-minimal-hello-multiplier {455          leaf dead-interval-minimal-hello-multiplier {
426            type uint32 {456            type uint32 {
427              range "3..20" {457              range "3..20" {
428                description458                description
429                  "Multiplier";459                  "Multiplier";
430              }460              }
431            }461            }
432            must "not(../dead-interval)";462            must "not(../dead-interval)";
433            description463            description
434              "Set multiplier for Hellos";464              "Set multiplier for Hellos";
435          }465          }
436          leaf priority {466          leaf priority {
437            type uint32 {467            type uint32 {
438              range "0..255" {468              range "0..255" {
439                description469                description
440                  "Priority";470                  "Priority";
441              }471              }
442            }472            }
443            description473            description
444              "Router priority";474              "Router priority";
445          }475          }
446          leaf retransmit-interval {476          leaf retransmit-interval {
447            type uint32 {477            type uint32 {
448              range "1..65535" {478              range "1..65535" {
449                description479                description
450                  "Seconds";480                  "Seconds";
451              }481              }
452            }482            }
453            description483            description
454              "Time between retransmitting lost link state advertisements";484              "Time between retransmitting lost link state advertisements";
455          }485          }
456          leaf transmit-delay {486          leaf transmit-delay {
457            type uint32 {487            type uint32 {
458              range "1..65535" {488              range "1..65535" {
459                description489                description
460                  "Seconds";490                  "Seconds";
461              }491              }
462            }492            }
463            description493            description
464              "Estimated time needed to send link-state update packet";494              "Estimated time needed to send link-state update packet";
465          }495          }
466          container flood-reduction {496          container flood-reduction {
467            description497            description
468              "Enable/Disable OSPF Flood Reduction";498              "Enable/Disable OSPF Flood Reduction";
469            container enable {499            container enable {
470              must "not(../disable)";500              must "not(../disable)";
471              presence "Indicates a enable node is configured.";501              presence "Indicates a enable node is configured.";
472              description502              description
473                "Enable OSPF Flood Reduction";503                "Enable OSPF Flood Reduction";
474            }504            }
475            container disable {505            container disable {
476              must "not(../enable)";506              must "not(../enable)";
477              presence "Indicates a disable node is configured.";507              presence "Indicates a disable node is configured.";
478              description508              description
479                "Disable OSPF Flood Reduction";509                "Disable OSPF Flood Reduction";
480            }510            }
481          }511          }
482          container demand-circuit {512          container demand-circuit {
483            description513            description
484              "Enable/Disable OSPF demand circuit";514              "Enable/Disable OSPF demand circuit";
485            container enable {515            container enable {
486              must "not(../disable)";516              must "not(../disable)";
487              presence "Indicates a enable node is configured.";517              presence "Indicates a enable node is configured.";
488              description518              description
489                "Enable OSPF demand circuit";519                "Enable OSPF demand circuit";
490            }520            }
491            container disable {521            container disable {
492              must "not(../enable)";522              must "not(../enable)";
493              presence "Indicates a disable node is configured.";523              presence "Indicates a disable node is configured.";
494              description524              description
495                "Disable OSPF demand circuit";525                "Disable OSPF demand circuit";
496            }526            }
497          }527          }
498          container mtu-ignore {528          container mtu-ignore {
499            description529            description
500              "Enable/Disable ignoring of MTU in DBD packets";530              "Enable/Disable ignoring of MTU in DBD packets";
501            container enable {531            container enable {
502              must "not(../disable)";532              must "not(../disable)";
503              presence "Indicates a enable node is configured.";533              presence "Indicates a enable node is configured.";
504              description534              description
505                "Ignores the MTU in DBD packets";535                "Ignores the MTU in DBD packets";
506            }536            }
507            container disable {537            container disable {
508              must "not(../enable)";538              must "not(../enable)";
509              presence "Indicates a disable node is configured.";539              presence "Indicates a disable node is configured.";
510              description540              description
511                "Disable ignoring the MTU in DBD packets";541                "Disable ignoring the MTU in DBD packets";
512            }542            }
513          }543          }
514          container database-filter {544          container database-filter {
515            description545            description
516              "Filter OSPF LSA during synchronization and flooding";546              "Filter OSPF LSA during synchronization and flooding";
517            container all {547            container all {
518              description548              description
519                "Filter all LSA";549                "Filter all LSA";
520              container out {550              container out {
521                presence "Indicates a out node is configured.";551                presence "Indicates a out node is configured.";
522                description552                description
523                  "Outgoing LSA";553                  "Outgoing LSA";
524                container enable {554                container enable {
525                  presence "Indicates a enable node is configured.";555                  presence "Indicates a enable node is configured.";
526                  description556                  description
527                    "Enable filtering";557                    "Enable filtering";
528                }558                }
529                container disable {559                container disable {
530                  presence "Indicates a disable node is configured.";560                  presence "Indicates a disable node is configured.";
531                  description561                  description
532                    "Disable filtering";562                    "Disable filtering";
533                }563                }
534              }564              }
535            }565            }
536          }566          }
537          container passive {567          container passive {
538            description568            description
539              "Enable/Disable passive";569              "Enable/Disable passive";
540            container enable {570            container enable {
541              must "not(../disable)";571              must "not(../disable)";
542              presence "Indicates a enable node is configured.";572              presence "Indicates a enable node is configured.";
543              description573              description
544                "Enable passive";574                "Enable passive";
545            }575            }
546            container disable {576            container disable {
547              must "not(../enable)";577              must "not(../enable)";
548              presence "Indicates a disable node is configured.";578              presence "Indicates a disable node is configured.";
549              description579              description
550                "Disable passive";580                "Disable passive";
551            }581            }
552          }582          }
553          container log {583          container log {
554            description584            description
555              "Log ospf info";585              "Log ospf info";
556            container adjacency {586            container adjacency {
557              description587              description
558                "Log adjacency state info";588                "Log adjacency state info";
559              container changes {589              container changes {
560                presence "Indicates a detail node is configured.";590                presence "Indicates a detail node is configured.";
561                description591                description
562                  "Log changes";592                  "Log changes";
563                container detail {593                container detail {
564                  must "not(../disable)";594                  must "not(../disable)";
565                  presence "Indicates a detail node is configured.";595                  presence "Indicates a detail node is configured.";
566                  description596                  description
567                    "Log all state changes";597                    "Log all state changes";
568                }598                }
569                container disable {599                container disable {
570                  must "not(../detail)";600                  must "not(../detail)";
571                  presence "Indicates a disable node is configured.";601                  presence "Indicates a disable node is configured.";
572                  description602                  description
573                    "Disable logging";603                    "Disable logging";
574                }604                }
575              }605              }
576            }606            }
577          }607          }
578          leaf router-id {608          leaf router-id {
579            type inet:ipv4-address-no-zone;609            type inet:ipv4-address-no-zone;
580            description610            description
581              "configure this node";611              "configure this node";
582          }612          }
583          container redistribute {613          container redistribute {
584            description614            description
585              "Redistribute information from another routing protocol";615              "Redistribute information from another routing protocol";
586            container connected {616            container connected {
587              presence "Indicates a connected node is configured.";617              presence "Indicates a connected node is configured.";
588              description618              description
589                "Connected routes";619                "Connected routes";
590              container metric {620              container metric {
591                description621                description
592                  "Metric for redistributed routes";622                  "Metric for redistributed routes";
593                leaf default-metric {623                leaf default-metric {
594                  type uint32 {624                  type uint32 {
595                    range "1..16777214" {625                    range "1..16777214" {
596                      description626                      description
597                        "OSPF default metric";627                        "OSPF default metric";
598                    }628                    }
599                  }629                  }
600                  description630                  description
601                    "OSPF default metric";631                    "OSPF default metric";
602                }632                }
603                container use-rib-metric {633                container use-rib-metric {
604                  presence "Indicates a use-rib-metric node is configured.";634                  presence "Indicates a use-rib-metric node is configured.";
605                  description635                  description
606                    "Use metric from RIB";636                    "Use metric from RIB";
607                }637                }
608              }638              }
609              leaf tag {639              leaf tag {
610                type uint32 {640                type uint32 {
611                  range "0..4294967295" {641                  range "0..4294967295" {
612                    description642                    description
613                      "32-bit tag value";643                      "32-bit tag value";
614                  }644                  }
615                }645                }
616                description646                description
617                  "Set tag for routes redistributed into OSPF";647                  "Set tag for routes redistributed into OSPF";
618              }648              }
619              leaf metric-type {649              leaf metric-type {
620                type enumeration {650                type enumeration {
621                  enum "1" {651                  enum "1" {
622                    value 1;652                    value 1;
623                    description653                    description
624                      "Set OSPF External Type 1 metrics";654                      "Set OSPF External Type 1 metrics";
625                  }655                  }
626                  enum "2" {656                  enum "2" {
627                    value 2;657                    value 2;
628                    description658                    description
629                      "Set OSPF External Type 2 metrics";659                      "Set OSPF External Type 2 metrics";
630                  }660                  }
631                }661                }
632                description662                description
633                  "OSPF exterior metric type for redistributed routes";663                  "OSPF exterior metric type for redistributed routes";
634              }664              }
635              container lsa-type {665              container lsa-type {
636                description666                description
637                  "LSA type for redistributed routes";667                  "LSA type for redistributed routes";
638                container summary {668                container summary {
639                  presence "Indicates a summary node is configured.";669                  presence "Indicates a summary node is configured.";
640                  description670                  description
641                    "LSA type 3";671                    "LSA type 3";
642                }672                }
643              }673              }
644              leaf route-policy {674              leaf route-policy {
645                type xr:Route-policy-name;675                type xr:Route-policy-name;
646                description676                description
647                  "Apply route-policy to redistribution";677                  "Apply route-policy to redistribution";
648              }678              }
649              container nssa-only {679              container nssa-only {
650                presence "Indicates a nssa-only node is configured.";680                presence "Indicates a nssa-only node is configured.";
651                description681                description
652                  "Redistribute to NSSA areas only";682                  "Redistribute to NSSA areas only";
653              }683              }
654            }684            }
655            container static {685            container static {
656              presence "Indicates a static node is configured.";686              presence "Indicates a static node is configured.";
657              description687              description
658                "Static routes";688                "Static routes";
659              container metric {689              container metric {
660                description690                description
661                  "Metric for redistributed routes";691                  "Metric for redistributed routes";
662                leaf default-metric {692                leaf default-metric {
663                  type uint32 {693                  type uint32 {
664                    range "1..16777214" {694                    range "1..16777214" {
665                      description695                      description
666                        "OSPF default metric";696                        "OSPF default metric";
667                    }697                    }
668                  }698                  }
669                  description699                  description
670                    "OSPF default metric";700                    "OSPF default metric";
671                }701                }
672                container use-rib-metric {702                container use-rib-metric {
673                  presence "Indicates a use-rib-metric node is configured.";703                  presence "Indicates a use-rib-metric node is configured.";
674                  description704                  description
675                    "Use metric from RIB";705                    "Use metric from RIB";
676                }706                }
677              }707              }
678              leaf tag {708              leaf tag {
679                type uint32 {709                type uint32 {
680                  range "0..4294967295" {710                  range "0..4294967295" {
681                    description711                    description
682                      "32-bit tag value";712                      "32-bit tag value";
683                  }713                  }
684                }714                }
685                description715                description
686                  "Set tag for routes redistributed into OSPF";716                  "Set tag for routes redistributed into OSPF";
687              }717              }
688              leaf metric-type {718              leaf metric-type {
689                type enumeration {719                type enumeration {
690                  enum "1" {720                  enum "1" {
691                    value 1;721                    value 1;
692                    description722                    description
693                      "Set OSPF External Type 1 metrics";723                      "Set OSPF External Type 1 metrics";
694                  }724                  }
695                  enum "2" {725                  enum "2" {
696                    value 2;726                    value 2;
697                    description727                    description
698                      "Set OSPF External Type 2 metrics";728                      "Set OSPF External Type 2 metrics";
699                  }729                  }
700                }730                }
701                description731                description
702                  "OSPF exterior metric type for redistributed routes";732                  "OSPF exterior metric type for redistributed routes";
703              }733              }
704              container lsa-type {734              container lsa-type {
705                description735                description
706                  "LSA type for redistributed routes";736                  "LSA type for redistributed routes";
707                container summary {737                container summary {
708                  presence "Indicates a summary node is configured.";738                  presence "Indicates a summary node is configured.";
709                  description739                  description
710                    "LSA type 3";740                    "LSA type 3";
711                }741                }
712              }742              }
713              leaf route-policy {743              leaf route-policy {
714                type xr:Route-policy-name;744                type xr:Route-policy-name;
715                description745                description
716                  "Apply route-policy to redistribution";746                  "Apply route-policy to redistribution";
717              }747              }
718              container nssa-only {748              container nssa-only {
719                presence "Indicates a nssa-only node is configured.";749                presence "Indicates a nssa-only node is configured.";
720                description750                description
721                  "Redistribute to NSSA areas only";751                  "Redistribute to NSSA areas only";
722              }752              }
723            }753            }
724            container dagr {754            container dagr {
725              presence "Indicates a dagr node is configured.";755              presence "Indicates a dagr node is configured.";
726              description756              description
727                "Directed-attached gateway redundancy (DAGR)";757                "Directed-attached gateway redundancy (DAGR)";
728              container metric {758              container metric {
729                description759                description
730                  "Metric for redistributed routes";760                  "Metric for redistributed routes";
731                leaf default-metric {761                leaf default-metric {
732                  type uint32 {762                  type uint32 {
733                    range "1..16777214" {763                    range "1..16777214" {
734                      description764                      description
735                        "OSPF default metric";765                        "OSPF default metric";
736                    }766                    }
737                  }767                  }
738                  description768                  description
739                    "OSPF default metric";769                    "OSPF default metric";
740                }770                }
741                container use-rib-metric {771                container use-rib-metric {
742                  presence "Indicates a use-rib-metric node is configured.";772                  presence "Indicates a use-rib-metric node is configured.";
743                  description773                  description
744                    "Use metric from RIB";774                    "Use metric from RIB";
745                }775                }
746              }776              }
747              leaf tag {777              leaf tag {
748                type uint32 {778                type uint32 {
749                  range "0..4294967295" {779                  range "0..4294967295" {
750                    description780                    description
751                      "32-bit tag value";781                      "32-bit tag value";
752                  }782                  }
753                }783                }
754                description784                description
755                  "Set tag for routes redistributed into OSPF";785                  "Set tag for routes redistributed into OSPF";
756              }786              }
757              leaf metric-type {787              leaf metric-type {
758                type enumeration {788                type enumeration {
759                  enum "1" {789                  enum "1" {
760                    value 1;790                    value 1;
761                    description791                    description
762                      "Set OSPF External Type 1 metrics";792                      "Set OSPF External Type 1 metrics";
763                  }793                  }
764                  enum "2" {794                  enum "2" {
765                    value 2;795                    value 2;
766                    description796                    description
767                      "Set OSPF External Type 2 metrics";797                      "Set OSPF External Type 2 metrics";
768                  }798                  }
769                }799                }
770                description800                description
771                  "OSPF exterior metric type for redistributed routes";801                  "OSPF exterior metric type for redistributed routes";
772              }802              }
773              container lsa-type {803              container lsa-type {
774                description804                description
775                  "LSA type for redistributed routes";805                  "LSA type for redistributed routes";
776                container summary {806                container summary {
777                  presence "Indicates a summary node is configured.";807                  presence "Indicates a summary node is configured.";
778                  description808                  description
779                    "LSA type 3";809                    "LSA type 3";
780                }810                }
781              }811              }
782              leaf route-policy {812              leaf route-policy {
783                type xr:Route-policy-name;813                type xr:Route-policy-name;
784                description814                description
785                  "Apply route-policy to redistribution";815                  "Apply route-policy to redistribution";
786              }816              }
787              container nssa-only {817              container nssa-only {
788                presence "Indicates a nssa-only node is configured.";818                presence "Indicates a nssa-only node is configured.";
789                description819                description
790                  "Redistribute to NSSA areas only";820                  "Redistribute to NSSA areas only";
791              }821              }
792            }822            }
793            container subscriber {823            container subscriber {
794              presence "Indicates a subscriber node is configured.";824              presence "Indicates a subscriber node is configured.";
795              description825              description
796                "Subscriber routes";826                "Subscriber routes";
797              container metric {827              container metric {
798                description828                description
799                  "Metric for redistributed routes";829                  "Metric for redistributed routes";
800                leaf default-metric {830                leaf default-metric {
801                  type uint32 {831                  type uint32 {
802                    range "1..16777214" {832                    range "1..16777214" {
803                      description833                      description
804                        "OSPF default metric";834                        "OSPF default metric";
805                    }835                    }
806                  }836                  }
807                  description837                  description
808                    "OSPF default metric";838                    "OSPF default metric";
809                }839                }
810                container use-rib-metric {840                container use-rib-metric {
811                  presence "Indicates a use-rib-metric node is configured.";841                  presence "Indicates a use-rib-metric node is configured.";
812                  description842                  description
813                    "Use metric from RIB";843                    "Use metric from RIB";
814                }844                }
815              }845              }
816              leaf tag {846              leaf tag {
817                type uint32 {847                type uint32 {
818                  range "0..4294967295" {848                  range "0..4294967295" {
819                    description849                    description
820                      "32-bit tag value";850                      "32-bit tag value";
821                  }851                  }
822                }852                }
823                description853                description
824                  "Set tag for routes redistributed into OSPF";854                  "Set tag for routes redistributed into OSPF";
825              }855              }
826              leaf metric-type {856              leaf metric-type {
827                type enumeration {857                type enumeration {
828                  enum "1" {858                  enum "1" {
829                    value 1;859                    value 1;
830                    description860                    description
831                      "Set OSPF External Type 1 metrics";861                      "Set OSPF External Type 1 metrics";
832                  }862                  }
833                  enum "2" {863                  enum "2" {
834                    value 2;864                    value 2;
835                    description865                    description
836                      "Set OSPF External Type 2 metrics";866                      "Set OSPF External Type 2 metrics";
837                  }867                  }
838                }868                }
839                description869                description
840                  "OSPF exterior metric type for redistributed routes";870                  "OSPF exterior metric type for redistributed routes";
841              }871              }
842              container lsa-type {872              container lsa-type {
843                description873                description
844                  "LSA type for redistributed routes";874                  "LSA type for redistributed routes";
845                container summary {875                container summary {
846                  presence "Indicates a summary node is configured.";876                  presence "Indicates a summary node is configured.";
847                  description877                  description
848                    "LSA type 3";878                    "LSA type 3";
849                }879                }
850              }880              }
851              leaf route-policy {881              leaf route-policy {
852                type xr:Route-policy-name;882                type xr:Route-policy-name;
853                description883                description
854                  "Apply route-policy to redistribution";884                  "Apply route-policy to redistribution";
855              }885              }
856              container nssa-only {886              container nssa-only {
857                presence "Indicates a nssa-only node is configured.";887                presence "Indicates a nssa-only node is configured.";
858                description888                description
859                  "Redistribute to NSSA areas only";889                  "Redistribute to NSSA areas only";
860              }890              }
861            }891            }
862            container mobile {892            container mobile {
863              presence "Indicates a mobile node is configured.";893              presence "Indicates a mobile node is configured.";
864              description894              description
865                "Mobile routes";895                "Mobile routes";
866              container metric {896              container metric {
867                description897                description
868                  "Metric for redistributed routes";898                  "Metric for redistributed routes";
869                leaf default-metric {899                leaf default-metric {
870                  type uint32 {900                  type uint32 {
871                    range "1..16777214" {901                    range "1..16777214" {
872                      description902                      description
873                        "OSPF default metric";903                        "OSPF default metric";
874                    }904                    }
875                  }905                  }
876                  description906                  description
877                    "OSPF default metric";907                    "OSPF default metric";
878                }908                }
879                container use-rib-metric {909                container use-rib-metric {
880                  presence "Indicates a use-rib-metric node is configured.";910                  presence "Indicates a use-rib-metric node is configured.";
881                  description911                  description
882                    "Use metric from RIB";912                    "Use metric from RIB";
883                }913                }
884              }914              }
885              leaf tag {915              leaf tag {
886                type uint32 {916                type uint32 {
887                  range "0..4294967295" {917                  range "0..4294967295" {
888                    description918                    description
889                      "32-bit tag value";919                      "32-bit tag value";
890                  }920                  }
891                }921                }
892                description922                description
893                  "Set tag for routes redistributed into OSPF";923                  "Set tag for routes redistributed into OSPF";
894              }924              }
895              leaf metric-type {925              leaf metric-type {
896                type enumeration {926                type enumeration {
897                  enum "1" {927                  enum "1" {
898                    value 1;928                    value 1;
899                    description929                    description
900                      "Set OSPF External Type 1 metrics";930                      "Set OSPF External Type 1 metrics";
901                  }931                  }
902                  enum "2" {932                  enum "2" {
903                    value 2;933                    value 2;
904                    description934                    description
905                      "Set OSPF External Type 2 metrics";935                      "Set OSPF External Type 2 metrics";
906                  }936                  }
907                }937                }
908                description938                description
909                  "OSPF exterior metric type for redistributed routes";939                  "OSPF exterior metric type for redistributed routes";
910              }940              }
911              container lsa-type {941              container lsa-type {
912                description942                description
913                  "LSA type for redistributed routes";943                  "LSA type for redistributed routes";
914                container summary {944                container summary {
915                  presence "Indicates a summary node is configured.";945                  presence "Indicates a summary node is configured.";
916                  description946                  description
917                    "LSA type 3";947                    "LSA type 3";
918                }948                }
919              }949              }
920              leaf route-policy {950              leaf route-policy {
921                type xr:Route-policy-name;951                type xr:Route-policy-name;
922                description952                description
923                  "Apply route-policy to redistribution";953                  "Apply route-policy to redistribution";
924              }954              }
925              container nssa-only {955              container nssa-only {
926                presence "Indicates a nssa-only node is configured.";956                presence "Indicates a nssa-only node is configured.";
927                description957                description
928                  "Redistribute to NSSA areas only";958                  "Redistribute to NSSA areas only";
929              }959              }
930            }960            }
931            list eigrp {961            list eigrp {
932              key "as-number";962              key "as-number";
933              description963              description
934                "Enhanced Interior Gateway Routing Protocol (EIGRP)";964                "Enhanced Interior Gateway Routing Protocol (EIGRP)";
935              leaf as-number {965              leaf as-number {
936                type uint32 {966                type uint32 {
937                  range "1..65535" {967                  range "1..65535" {
938                    description968                    description
939                      "Autonomous system number";969                      "Autonomous system number";
940                  }970                  }
941                }971                }
942                description972                description
943                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";973                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";
944              }974              }
945              container match {975              container match {
946                description976                description
947                  "Redistribution of EIGRP routes";977                  "Redistribution of EIGRP routes";
948                container internal {978                container internal {
949                  presence "Indicates a internal node is configured.";979                  presence "Indicates a internal node is configured.";
950                  description980                  description
951                    "Redistribute EIGRP internal routes";981                    "Redistribute EIGRP internal routes";
952                }982                }
953                container external {983                container external {
954                  presence "Indicates a external node is configured.";984                  presence "Indicates a external node is configured.";
955                  description985                  description
956                    "Redistribute EIGRP external routes";986                    "Redistribute EIGRP external routes";
957                }987                }
958              }988              }
959              container metric {989              container metric {
960                description990                description
961                  "Metric for redistributed routes";991                  "Metric for redistributed routes";
962                leaf default-metric {992                leaf default-metric {
963                  type uint32 {993                  type uint32 {
964                    range "1..16777214" {994                    range "1..16777214" {
965                      description995                      description
966                        "OSPF default metric";996                        "OSPF default metric";
967                    }997                    }
968                  }998                  }
969                  description999                  description
970                    "OSPF default metric";1000                    "OSPF default metric";
971                }1001                }
972                container use-rib-metric {1002                container use-rib-metric {
973                  presence "Indicates a use-rib-metric node is configured.";1003                  presence "Indicates a use-rib-metric node is configured.";
974                  description1004                  description
975                    "Use metric from RIB";1005                    "Use metric from RIB";
976                }1006                }
977              }1007              }
978              leaf tag {1008              leaf tag {
979                type uint32 {1009                type uint32 {
980                  range "0..4294967295" {1010                  range "0..4294967295" {
981                    description1011                    description
982                      "32-bit tag value";1012                      "32-bit tag value";
983                  }1013                  }
984                }1014                }
985                description1015                description
986                  "Set tag for routes redistributed into OSPF";1016                  "Set tag for routes redistributed into OSPF";
987              }1017              }
988              leaf metric-type {1018              leaf metric-type {
989                type enumeration {1019                type enumeration {
990                  enum "1" {1020                  enum "1" {
991                    value 1;1021                    value 1;
992                    description1022                    description
993                      "Set OSPF External Type 1 metrics";1023                      "Set OSPF External Type 1 metrics";
994                  }1024                  }
995                  enum "2" {1025                  enum "2" {
996                    value 2;1026                    value 2;
997                    description1027                    description
998                      "Set OSPF External Type 2 metrics";1028                      "Set OSPF External Type 2 metrics";
999                  }1029                  }
1000                }1030                }
1001                description1031                description
1002                  "OSPF exterior metric type for redistributed routes";1032                  "OSPF exterior metric type for redistributed routes";
1003              }1033              }
1004              container lsa-type {1034              container lsa-type {
1005                description1035                description
1006                  "LSA type for redistributed routes";1036                  "LSA type for redistributed routes";
1007                container summary {1037                container summary {
1008                  presence "Indicates a summary node is configured.";1038                  presence "Indicates a summary node is configured.";
1009                  description1039                  description
1010                    "LSA type 3";1040                    "LSA type 3";
1011                }1041                }
1012              }1042              }
1013              leaf route-policy {1043              leaf route-policy {
1014                type xr:Route-policy-name;1044                type xr:Route-policy-name;
1015                description1045                description
1016                  "Apply route-policy to redistribution";1046                  "Apply route-policy to redistribution";
1017              }1047              }
1018              container nssa-only {1048              container nssa-only {
1019                presence "Indicates a nssa-only node is configured.";1049                presence "Indicates a nssa-only node is configured.";
1020                description1050                description
1021                  "Redistribute to NSSA areas only";1051                  "Redistribute to NSSA areas only";
1022              }1052              }
1023            }1053            }
1024            container rip {1054            container rip {
1025              presence "Indicates a rip node is configured.";1055              presence "Indicates a rip node is configured.";
1026              description1056              description
1027                "Routing Information Protocol (RIP)";1057                "Routing Information Protocol (RIP)";
1028              container metric {1058              container metric {
1029                description1059                description
1030                  "Metric for redistributed routes";1060                  "Metric for redistributed routes";
1031                leaf default-metric {1061                leaf default-metric {
1032                  type uint32 {1062                  type uint32 {
1033                    range "1..16777214" {1063                    range "1..16777214" {
1034                      description1064                      description
1035                        "OSPF default metric";1065                        "OSPF default metric";
1036                    }1066                    }
1037                  }1067                  }
1038                  description1068                  description
1039                    "OSPF default metric";1069                    "OSPF default metric";
1040                }1070                }
1041                container use-rib-metric {1071                container use-rib-metric {
1042                  presence "Indicates a use-rib-metric node is configured.";1072                  presence "Indicates a use-rib-metric node is configured.";
1043                  description1073                  description
1044                    "Use metric from RIB";1074                    "Use metric from RIB";
1045                }1075                }
1046              }1076              }
1047              leaf tag {1077              leaf tag {
1048                type uint32 {1078                type uint32 {
1049                  range "0..4294967295" {1079                  range "0..4294967295" {
1050                    description1080                    description
1051                      "32-bit tag value";1081                      "32-bit tag value";
1052                  }1082                  }
1053                }1083                }
1054                description1084                description
1055                  "Set tag for routes redistributed into OSPF";1085                  "Set tag for routes redistributed into OSPF";
1056              }1086              }
1057              leaf metric-type {1087              leaf metric-type {
1058                type enumeration {1088                type enumeration {
1059                  enum "1" {1089                  enum "1" {
1060                    value 1;1090                    value 1;
1061                    description1091                    description
1062                      "Set OSPF External Type 1 metrics";1092                      "Set OSPF External Type 1 metrics";
1063                  }1093                  }
1064                  enum "2" {1094                  enum "2" {
1065                    value 2;1095                    value 2;
1066                    description1096                    description
1067                      "Set OSPF External Type 2 metrics";1097                      "Set OSPF External Type 2 metrics";
1068                  }1098                  }
1069                }1099                }
1070                description1100                description
1071                  "OSPF exterior metric type for redistributed routes";1101                  "OSPF exterior metric type for redistributed routes";
1072              }1102              }
1073              container lsa-type {1103              container lsa-type {
1074                description1104                description
1075                  "LSA type for redistributed routes";1105                  "LSA type for redistributed routes";
1076                container summary {1106                container summary {
1077                  presence "Indicates a summary node is configured.";1107                  presence "Indicates a summary node is configured.";
1078                  description1108                  description
1079                    "LSA type 3";1109                    "LSA type 3";
1080                }1110                }
1081              }1111              }
1082              leaf route-policy {1112              leaf route-policy {
1083                type xr:Route-policy-name;1113                type xr:Route-policy-name;
1084                description1114                description
1085                  "Apply route-policy to redistribution";1115                  "Apply route-policy to redistribution";
1086              }1116              }
1087              container nssa-only {1117              container nssa-only {
1088                presence "Indicates a nssa-only node is configured.";1118                presence "Indicates a nssa-only node is configured.";
1089                description1119                description
1090                  "Redistribute to NSSA areas only";1120                  "Redistribute to NSSA areas only";
1091              }1121              }
1092            }1122            }
1093            container bgp {1123            container bgp {
1094              description1124              description
1095                "Border Gateway Protocol (BGP)";1125                "Border Gateway Protocol (BGP)";
1096              list as {1126              list as {
1097                key "as-number";1127                key "as-number";
1098                description1128                description
1099                  "bgp as-number";1129                  "bgp as-number";
1100                leaf as-number {1130                leaf as-number {
1101                  type xr:Bgp-as-number;1131                  type xr:Bgp-as-number;
1102                  description1132                  description
1103                    "bgp as-number";1133                    "bgp as-number";
1104                }1134                }
1105                container preserve-med {1135                container preserve-med {
1106                  presence "Indicates a preserve-med node is configured.";1136                  presence "Indicates a preserve-med node is configured.";
1107                  description1137                  description
1108                    "Preserve med of BGP routes";1138                    "Preserve med of BGP routes";
1109                }1139                }
1110                container metric {1140                container metric {
1111                  description1141                  description
1112                    "Metric for redistributed routes";1142                    "Metric for redistributed routes";
1113                  leaf default-metric {1143                  leaf default-metric {
1114                    type uint32 {1144                    type uint32 {
1115                      range "1..16777214" {1145                      range "1..16777214" {
1116                        description1146                        description
1117                          "OSPF default metric";1147                          "OSPF default metric";
1118                      }1148                      }
1119                    }1149                    }
1120                    description1150                    description
1121                      "OSPF default metric";1151                      "OSPF default metric";
1122                  }1152                  }
1123                  container use-rib-metric {1153                  container use-rib-metric {
1124                    presence "Indicates a use-rib-metric node is configured.";1154                    presence "Indicates a use-rib-metric node is configured.";
1125                    description1155                    description
1126                      "Use metric from RIB";1156                      "Use metric from RIB";
1127                  }1157                  }
1128                }1158                }
1129                leaf tag {1159                leaf tag {
1130                  type uint32 {1160                  type uint32 {
1131                    range "0..4294967295" {1161                    range "0..4294967295" {
1132                      description1162                      description
1133                        "32-bit tag value";1163                        "32-bit tag value";
1134                    }1164                    }
1135                  }1165                  }
1136                  description1166                  description
1137                    "Set tag for routes redistributed into OSPF";1167                    "Set tag for routes redistributed into OSPF";
1138                }1168                }
1139                leaf metric-type {1169                leaf metric-type {
1140                  type enumeration {1170                  type enumeration {
1141                    enum "1" {1171                    enum "1" {
1142                      value 1;1172                      value 1;
1143                      description1173                      description
1144                        "Set OSPF External Type 1 metrics";1174                        "Set OSPF External Type 1 metrics";
1145                    }1175                    }
1146                    enum "2" {1176                    enum "2" {
1147                      value 2;1177                      value 2;
1148                      description1178                      description
1149                        "Set OSPF External Type 2 metrics";1179                        "Set OSPF External Type 2 metrics";
1150                    }1180                    }
1151                  }1181                  }
1152                  description1182                  description
1153                    "OSPF exterior metric type for redistributed routes";1183                    "OSPF exterior metric type for redistributed routes";
1154                }1184                }
1155                container lsa-type {1185                container lsa-type {
1156                  description1186                  description
1157                    "LSA type for redistributed routes";1187                    "LSA type for redistributed routes";
1158                  container summary {1188                  container summary {
1159                    presence "Indicates a summary node is configured.";1189                    presence "Indicates a summary node is configured.";
1160                    description1190                    description
1161                      "LSA type 3";1191                      "LSA type 3";
1162                  }1192                  }
1163                }1193                }
1164                leaf route-policy {1194                leaf route-policy {
1165                  type xr:Route-policy-name;1195                  type xr:Route-policy-name;
1166                  description1196                  description
1167                    "Apply route-policy to redistribution";1197                    "Apply route-policy to redistribution";
1168                }1198                }
1169                container nssa-only {1199                container nssa-only {
1170                  presence "Indicates a nssa-only node is configured.";1200                  presence "Indicates a nssa-only node is configured.";
1171                  description1201                  description
1172                    "Redistribute to NSSA areas only";1202                    "Redistribute to NSSA areas only";
1173                }1203                }
1174              }1204              }
1175            }1205            }
1176            list isis {1206            list isis {
1177              key "instance-name";1207              key "instance-name";
1178              description1208              description
1179                "ISO IS-IS";1209                "ISO IS-IS";
1180              leaf instance-name {1210              leaf instance-name {
1181                type string {1211                type string {
1182                  length "1..1024" {1212                  length "1..1024" {
1183                    description1213                    description
1184                      "IS-IS instance name";1214                      "IS-IS instance name";
1185                  }1215                  }
1186                }1216                }
1187                description1217                description
1188                  "ISO IS-IS";1218                  "ISO IS-IS";
1189              }1219              }
1190              container level-1 {1220              container level-1 {
1191                presence "Indicates a level-1 node is configured.";1221                presence "Indicates a level-1 node is configured.";
1192                description1222                description
1193                  "IS-IS level-1 routes only";1223                  "IS-IS level-1 routes only";
1194              }1224              }
1195              container level-2 {1225              container level-2 {
1196                presence "Indicates a level-2 node is configured.";1226                presence "Indicates a level-2 node is configured.";
1197                description1227                description
1198                  "IS-IS level-2 routes only";1228                  "IS-IS level-2 routes only";
1199              }1229              }
1200              container level-1-2 {1230              container level-1-2 {
1201                presence "Indicates a level-1-2 node is configured.";1231                presence "Indicates a level-1-2 node is configured.";
1202                description1232                description
1203                  "IS-IS level-1 and level-2 routes";1233                  "IS-IS level-1 and level-2 routes";
1204              }1234              }
1205              container metric {1235              container metric {
1206                description1236                description
1207                  "Metric for redistributed routes";1237                  "Metric for redistributed routes";
1208                leaf default-metric {1238                leaf default-metric {
1209                  type uint32 {1239                  type uint32 {
1210                    range "1..16777214" {1240                    range "1..16777214" {
1211                      description1241                      description
1212                        "OSPF default metric";1242                        "OSPF default metric";
1213                    }1243                    }
1214                  }1244                  }
1215                  description1245                  description
1216                    "OSPF default metric";1246                    "OSPF default metric";
1217                }1247                }
1218                container use-rib-metric {1248                container use-rib-metric {
1219                  presence "Indicates a use-rib-metric node is configured.";1249                  presence "Indicates a use-rib-metric node is configured.";
1220                  description1250                  description
1221                    "Use metric from RIB";1251                    "Use metric from RIB";
1222                }1252                }
1223              }1253              }
1224              leaf tag {1254              leaf tag {
1225                type uint32 {1255                type uint32 {
1226                  range "0..4294967295" {1256                  range "0..4294967295" {
1227                    description1257                    description
1228                      "32-bit tag value";1258                      "32-bit tag value";
1229                  }1259                  }
1230                }1260                }
1231                description1261                description
1232                  "Set tag for routes redistributed into OSPF";1262                  "Set tag for routes redistributed into OSPF";
1233              }1263              }
1234              leaf metric-type {1264              leaf metric-type {
1235                type enumeration {1265                type enumeration {
1236                  enum "1" {1266                  enum "1" {
1237                    value 1;1267                    value 1;
1238                    description1268                    description
1239                      "Set OSPF External Type 1 metrics";1269                      "Set OSPF External Type 1 metrics";
1240                  }1270                  }
1241                  enum "2" {1271                  enum "2" {
1242                    value 2;1272                    value 2;
1243                    description1273                    description
1244                      "Set OSPF External Type 2 metrics";1274                      "Set OSPF External Type 2 metrics";
1245                  }1275                  }
1246                }1276                }
1247                description1277                description
1248                  "OSPF exterior metric type for redistributed routes";1278                  "OSPF exterior metric type for redistributed routes";
1249              }1279              }
1250              container lsa-type {1280              container lsa-type {
1251                description1281                description
1252                  "LSA type for redistributed routes";1282                  "LSA type for redistributed routes";
1253                container summary {1283                container summary {
1254                  presence "Indicates a summary node is configured.";1284                  presence "Indicates a summary node is configured.";
1255                  description1285                  description
1256                    "LSA type 3";1286                    "LSA type 3";
1257                }1287                }
1258              }1288              }
1259              leaf route-policy {1289              leaf route-policy {
1260                type xr:Route-policy-name;1290                type xr:Route-policy-name;
1261                description1291                description
1262                  "Apply route-policy to redistribution";1292                  "Apply route-policy to redistribution";
1263              }1293              }
1264              container nssa-only {1294              container nssa-only {
1265                presence "Indicates a nssa-only node is configured.";1295                presence "Indicates a nssa-only node is configured.";
1266                description1296                description
1267                  "Redistribute to NSSA areas only";1297                  "Redistribute to NSSA areas only";
1268              }1298              }
1269            }1299            }
1270            list ospf {1300            list ospf {
1271              key "instance-name";1301              key "instance-name";
1272              description1302              description
1273                "Open Shortest Path First (OSPF)";1303                "Open Shortest Path First (OSPF)";
1274              leaf instance-name {1304              leaf instance-name {
1275                type string {1305                type string {
1276                  length "1..1024" {1306                  length "1..1024" {
1277                    description1307                    description
1278                      "OSPF instance name";1308                      "OSPF instance name";
1279                  }1309                  }
1280                }1310                }
1281                description1311                description
1282                  "Open Shortest Path First (OSPF)";1312                  "Open Shortest Path First (OSPF)";
1283              }1313              }
1284              container match {1314              container match {
1285                description1315                description
1286                  "Redistribution of OSPF routes";1316                  "Redistribution of OSPF routes";
1287                container internal {1317                container internal {
1288                  presence "Indicates a internal node is configured.";1318                  presence "Indicates a internal node is configured.";
1289                  description1319                  description
1290                    "Redistribute OSPF internal routes";1320                    "Redistribute OSPF internal routes";
1291                }1321                }
1292                container external {1322                container external {
1293                  presence "Indicates a external node is configured.";1323                  presence "Indicates a external node is configured.";
1294                  description1324                  description
1295                    "Redistribute OSPF external routes";1325                    "Redistribute OSPF external routes";
1296                  container one {1326                  container one {
1297                    presence "Indicates a one node is configured.";1327                    presence "Indicates a one node is configured.";
1298                    description1328                    description
1299                      "Redistribute external type 1 routes";1329                      "Redistribute external type 1 routes";
1300                  }1330                  }
1301                  container two {1331                  container two {
1302                    presence "Indicates a two node is configured.";1332                    presence "Indicates a two node is configured.";
1303                    description1333                    description
1304                      "Redistribute external type 2 routes";1334                      "Redistribute external type 2 routes";
1305                  }1335                  }
1306                }1336                }
1307                container nssa-external {1337                container nssa-external {
1308                  presence "Indicates a nssa-external node is configured.";1338                  presence "Indicates a nssa-external node is configured.";
1309                  description1339                  description
1310                    "Redistribute OSPF NSSA external routes";1340                    "Redistribute OSPF NSSA external routes";
1311                  container one {1341                  container one {
1312                    presence "Indicates a one node is configured.";1342                    presence "Indicates a one node is configured.";
1313                    description1343                    description
1314                      "Redistribute NSSA external type 1 routes";1344                      "Redistribute NSSA external type 1 routes";
1315                  }1345                  }
1316                  container two {1346                  container two {
1317                    presence "Indicates a two node is configured.";1347                    presence "Indicates a two node is configured.";
1318                    description1348                    description
1319                      "Redistribute NSSA external type 2 routes";1349                      "Redistribute NSSA external type 2 routes";
1320                  }1350                  }
1321                }1351                }
1322              }1352              }
1323              container metric {1353              container metric {
1324                description1354                description
1325                  "Metric for redistributed routes";1355                  "Metric for redistributed routes";
1326                leaf default-metric {1356                leaf default-metric {
1327                  type uint32 {1357                  type uint32 {
1328                    range "1..16777214" {1358                    range "1..16777214" {
1329                      description1359                      description
1330                        "OSPF default metric";1360                        "OSPF default metric";
1331                    }1361                    }
1332                  }1362                  }
1333                  description1363                  description
1334                    "OSPF default metric";1364                    "OSPF default metric";
1335                }1365                }
1336                container use-rib-metric {1366                container use-rib-metric {
1337                  presence "Indicates a use-rib-metric node is configured.";1367                  presence "Indicates a use-rib-metric node is configured.";
1338                  description1368                  description
1339                    "Use metric from RIB";1369                    "Use metric from RIB";
1340                }1370                }
1341              }1371              }
1342              leaf tag {1372              leaf tag {
1343                type uint32 {1373                type uint32 {
1344                  range "0..4294967295" {1374                  range "0..4294967295" {
1345                    description1375                    description
1346                      "32-bit tag value";1376                      "32-bit tag value";
1347                  }1377                  }
1348                }1378                }
1349                description1379                description
1350                  "Set tag for routes redistributed into OSPF";1380                  "Set tag for routes redistributed into OSPF";
1351              }1381              }
1352              leaf metric-type {1382              leaf metric-type {
1353                type enumeration {1383                type enumeration {
1354                  enum "1" {1384                  enum "1" {
1355                    value 1;1385                    value 1;
1356                    description1386                    description
1357                      "Set OSPF External Type 1 metrics";1387                      "Set OSPF External Type 1 metrics";
1358                  }1388                  }
1359                  enum "2" {1389                  enum "2" {
1360                    value 2;1390                    value 2;
1361                    description1391                    description
1362                      "Set OSPF External Type 2 metrics";1392                      "Set OSPF External Type 2 metrics";
1363                  }1393                  }
1364                }1394                }
1365                description1395                description
1366                  "OSPF exterior metric type for redistributed routes";1396                  "OSPF exterior metric type for redistributed routes";
1367              }1397              }
1368              container lsa-type {1398              container lsa-type {
1369                description1399                description
1370                  "LSA type for redistributed routes";1400                  "LSA type for redistributed routes";
1371                container summary {1401                container summary {
1372                  presence "Indicates a summary node is configured.";1402                  presence "Indicates a summary node is configured.";
1373                  description1403                  description
1374                    "LSA type 3";1404                    "LSA type 3";
1375                }1405                }
1376              }1406              }
1377              leaf route-policy {1407              leaf route-policy {
1378                type xr:Route-policy-name;1408                type xr:Route-policy-name;
1379                description1409                description
1380                  "Apply route-policy to redistribution";1410                  "Apply route-policy to redistribution";
1381              }1411              }
1382              container nssa-only {1412              container nssa-only {
1383                presence "Indicates a nssa-only node is configured.";1413                presence "Indicates a nssa-only node is configured.";
1384                description1414                description
1385                  "Redistribute to NSSA areas only";1415                  "Redistribute to NSSA areas only";
1386              }1416              }
1387            }1417            }
1388            container applications {1418            container applications {
1389              description1419              description
1390                "OnePK Application routes";1420                "OnePK Application routes";
1391              list application {1421              list application {
1392                key "application-name";1422                key "application-name";
1393                description1423                description
1394                  "OnePK Application routes";1424                  "OnePK Application routes";
1395                leaf application-name {1425                leaf application-name {
1396                  type string {1426                  type string {
1397                    length "1..1024" {1427                    length "1..1024" {
1398                      description1428                      description
1399                        "OnePK Application name";1429                        "OnePK Application name";
1400                    }1430                    }
1401                  }1431                  }
1402                  description1432                  description
1403                    "OnePK Application routes";1433                    "OnePK Application routes";
1404                }1434                }
1405                container metric {1435                container metric {
1406                  description1436                  description
1407                    "Metric for redistributed routes";1437                    "Metric for redistributed routes";
1408                  leaf default-metric {1438                  leaf default-metric {
1409                    type uint32 {1439                    type uint32 {
1410                      range "1..16777214" {1440                      range "1..16777214" {
1411                        description1441                        description
1412                          "OSPF default metric";1442                          "OSPF default metric";
1413                      }1443                      }
1414                    }1444                    }
1415                    description1445                    description
1416                      "OSPF default metric";1446                      "OSPF default metric";
1417                  }1447                  }
1418                  container use-rib-metric {1448                  container use-rib-metric {
1419                    presence "Indicates a use-rib-metric node is configured.";1449                    presence "Indicates a use-rib-metric node is configured.";
1420                    description1450                    description
1421                      "Use metric from RIB";1451                      "Use metric from RIB";
1422                  }1452                  }
1423                }1453                }
1424                leaf tag {1454                leaf tag {
1425                  type uint32 {1455                  type uint32 {
1426                    range "0..4294967295" {1456                    range "0..4294967295" {
1427                      description1457                      description
1428                        "32-bit tag value";1458                        "32-bit tag value";
1429                    }1459                    }
1430                  }1460                  }
1431                  description1461                  description
1432                    "Set tag for routes redistributed into OSPF";1462                    "Set tag for routes redistributed into OSPF";
1433                }1463                }
1434                leaf metric-type {1464                leaf metric-type {
1435                  type enumeration {1465                  type enumeration {
1436                    enum "1" {1466                    enum "1" {
1437                      value 1;1467                      value 1;
1438                      description1468                      description
1439                        "Set OSPF External Type 1 metrics";1469                        "Set OSPF External Type 1 metrics";
1440                    }1470                    }
1441                    enum "2" {1471                    enum "2" {
1442                      value 2;1472                      value 2;
1443                      description1473                      description
1444                        "Set OSPF External Type 2 metrics";1474                        "Set OSPF External Type 2 metrics";
1445                    }1475                    }
1446                  }1476                  }
1447                  description1477                  description
1448                    "OSPF exterior metric type for redistributed routes";1478                    "OSPF exterior metric type for redistributed routes";
1449                }1479                }
1450                container lsa-type {1480                container lsa-type {
1451                  description1481                  description
1452                    "LSA type for redistributed routes";1482                    "LSA type for redistributed routes";
1453                  container summary {1483                  container summary {
1454                    presence "Indicates a summary node is configured.";1484                    presence "Indicates a summary node is configured.";
1455                    description1485                    description
1456                      "LSA type 3";1486                      "LSA type 3";
1457                  }1487                  }
1458                }1488                }
1459                leaf route-policy {1489                leaf route-policy {
1460                  type xr:Route-policy-name;1490                  type xr:Route-policy-name;
1461                  description1491                  description
1462                    "Apply route-policy to redistribution";1492                    "Apply route-policy to redistribution";
1463                }1493                }
1464                container nssa-only {1494                container nssa-only {
1465                  presence "Indicates a nssa-only node is configured.";1495                  presence "Indicates a nssa-only node is configured.";
1466                  description1496                  description
1467                    "Redistribute to NSSA areas only";1497                    "Redistribute to NSSA areas only";
1468                }1498                }
1469              }1499              }
1470            }1500            }
1471          }1501          }
1472          container distribute-list {1502          container distribute-list {
1473            description1503            description
1474              "Filter networks in routing updates";1504              "Filter networks in routing updates";
1475            container in {1505            container in {
1476              description1506              description
1477                "Filter incoming routing updates";1507                "Filter incoming routing updates";
1478              leaf access-list {1508              leaf access-list {
1479                type string {1509                type string {
1480                  length "1..1024" {1510                  length "1..1024" {
1481                    description1511                    description
1482                      "In-bound access-list name";1512                      "In-bound access-list name";
1483                  }1513                  }
1484                }1514                }
1485                description1515                description
1486                  "In-bound access-list name";1516                  "In-bound access-list name";
1487              }1517              }
1488              leaf route-policy {1518              leaf route-policy {
1489                type xr:Route-policy-name;1519                type xr:Route-policy-name;
1490                description1520                description
1491                  "Route Policy to filter OSPF prefixes";1521                  "Route Policy to filter OSPF prefixes";
1492              }1522              }
1493            }1523            }
1494            container out {1524            container out {
1495              description1525              description
1496                "Filter outgoing routing updates";1526                "Filter outgoing routing updates";
1497              leaf access-list {1527              leaf access-list {
1498                type string {1528                type string {
1499                  length "1..1024" {1529                  length "1..1024" {
1500                    description1530                    description
1501                      "access-list name";1531                      "access-list name";
1502                  }1532                  }
1503                }1533                }
1504                description1534                description
1505                  "access-list name";1535                  "access-list name";
1506              }1536              }
1507              container connected {1537              container connected {
1508                description1538                description
1509                  "Connected";1539                  "Connected";
1510                leaf access-list {1540                leaf access-list {
1511                  type string {1541                  type string {
1512                    length "1..1024" {1542                    length "1..1024" {
1513                      description1543                      description
1514                        "access-list name";1544                        "access-list name";
1515                    }1545                    }
1516                  }1546                  }
1517                  description1547                  description
1518                    "access-list name";1548                    "access-list name";
1519                }1549                }
1520              }1550              }
1521              container static {1551              container static {
1522                description1552                description
1523                  "Static routes";1553                  "Static routes";
1524                leaf access-list {1554                leaf access-list {
1525                  type string {1555                  type string {
1526                    length "1..1024" {1556                    length "1..1024" {
1527                      description1557                      description
1528                        "access-list name";1558                        "access-list name";
1529                    }1559                    }
1530                  }1560                  }
1531                  description1561                  description
1532                    "access-list name";1562                    "access-list name";
1533                }1563                }
1534              }1564              }
1535              container dagr {1565              container dagr {
1536                description1566                description
1537                  "Directed-attached gateway redundancy (DAGR)";1567                  "Directed-attached gateway redundancy (DAGR)";
1538                leaf access-list {1568                leaf access-list {
1539                  type string {1569                  type string {
1540                    length "1..1024" {1570                    length "1..1024" {
1541                      description1571                      description
1542                        "access-list name";1572                        "access-list name";
1543                    }1573                    }
1544                  }1574                  }
1545                  description1575                  description
1546                    "access-list name";1576                    "access-list name";
1547                }1577                }
1548              }1578              }
1549              container bgp {1579              container bgp {
1550                description1580                description
1551                  "Border Gateway Protocol (BGP)";1581                  "Border Gateway Protocol (BGP)";
1552                leaf as {1582                leaf as {
1553                  type xr:Bgp-as-number;1583                  type xr:Bgp-as-number;
1554                  description1584                  description
1555                    "bgp as-number";1585                    "bgp as-number";
1556                }1586                }
1557                leaf access-list {1587                leaf access-list {
1558                  type string {1588                  type string {
1559                    length "1..1024" {1589                    length "1..1024" {
1560                      description1590                      description
1561                        "access-list name";1591                        "access-list name";
1562                    }1592                    }
1563                  }1593                  }
1564                  description1594                  description
1565                    "access-list name";1595                    "access-list name";
1566                }1596                }
1567              }1597              }
1568              container ospf {1598              container ospf {
1569                description1599                description
1570                  "Open Shortest Path First (OSPF)";1600                  "Open Shortest Path First (OSPF)";
1571                leaf instance-name {1601                leaf instance-name {
1572                  type string {1602                  type string {
1573                    length "1..1024" {1603                    length "1..1024" {
1574                      description1604                      description
1575                        "OSPF instance name";1605                        "OSPF instance name";
1576                    }1606                    }
1577                  }1607                  }
1578                  description1608                  description
1579                    "Open Shortest Path First (OSPF)";1609                    "Open Shortest Path First (OSPF)";
1580                }1610                }
1581                leaf access-list {1611                leaf access-list {
1582                  type string {1612                  type string {
1583                    length "1..1024" {1613                    length "1..1024" {
1584                      description1614                      description
1585                        "access-list name";1615                        "access-list name";
1586                    }1616                    }
1587                  }1617                  }
1588                  description1618                  description
1589                    "access-list name";1619                    "access-list name";
1590                }1620                }
1591              }1621              }
1592            }1622            }
1593          }1623          }
1594          leaf packet-size {1624          leaf packet-size {
1595            type uint32 {1625            type uint32 {
1596              range "576..10000" {1626              range "576..10000" {
1597                description1627                description
1598                  "Size of OSPF packets to use Min: 576 Max: MTU bytes";1628                  "Size of OSPF packets to use Min: 576 Max: MTU bytes";
1599              }1629              }
1600            }1630            }
1601            description1631            description
1602              "Customize size of OSPF packets upto MTU";1632              "Customize size of OSPF packets upto MTU";
1603          }1633          }
1604          container bfd {1634          container bfd {
1605            description1635            description
1606              "Configure BFD parameters";1636              "Configure BFD parameters";
1607            container fast-detect {1637            container fast-detect {
1608              presence "Indicates a fast-detect node is configured.";1638              presence "Indicates a fast-detect node is configured.";
1609              description1639              description
1610                "Enable Fast detection";1640                "Enable Fast detection";
1611              container strict-mode {1641              container strict-mode {
1612                presence "Indicates a strict-mode node is configured.";1642                presence "Indicates a strict-mode node is configured.";
1613                description1643                description
1614                  "Hold down neighbor session until BFD session is up";1644                  "Hold down neighbor session until BFD session is up";
1615              }1645              }
1616            }1646            }
1617            leaf minimum-interval {1647            leaf minimum-interval {
1618              type uint32 {1648              type uint32 {
1619                range "3..30000" {1649                range "3..30000" {
1620                  description1650                  description
1621                    "minimum interval in milli-seconds";1651                    "minimum interval in milli-seconds";
1622                }1652                }
1623              }1653              }
1624              description1654              description
1625                "Minimum interval";1655                "Minimum interval";
1626            }1656            }
1627            leaf multiplier {1657            leaf multiplier {
1628              type uint32 {1658              type uint32 {
1629                range "2..50" {1659                range "2..50" {
1630                  description1660                  description
1631                    "Detect multiplier";1661                    "Detect multiplier";
1632                }1662                }
1633              }1663              }
1634              description1664              description
1635                "Detect multiplier";1665                "Detect multiplier";
1636            }1666            }
1637          }1667          }
1638          container security {1668          container security {
1639            description1669            description
1640              "Enable security";1670              "Enable security";
1641            container ttl {1671            container ttl {
1642              presence "Indicates a ttl node is configured.";1672              presence "Indicates a ttl node is configured.";
1643              description1673              description
1644                "Enable ttl security";1674                "Enable ttl security";
1645              leaf hops {1675              leaf hops {
1646                type uint32 {1676                type uint32 {
1647                  range "1..254" {1677                  range "1..254" {
1648                    description1678                    description
1649                      "maximum number of hops allowed";1679                      "maximum number of hops allowed";
1650                  }1680                  }
1651                }1681                }
1652                description1682                description
1653                  "IP hops";1683                  "IP hops";
1654              }1684              }
1655            }1685            }
1656          }1686          }
1657          container prefix-suppression {1687          container prefix-suppression {
1658            description1688            description
1659              "Suppress advertisement of the prefixes";1689              "Suppress advertisement of the prefixes";
1660            container enable {1690            container enable {
1661              presence "Indicates a enable node is configured.";1691              presence "Indicates a enable node is configured.";
1662              description1692              description
1663                "Enable primary address suppression";1693                "Enable primary address suppression";
1664            }1694            }
1665            container secondary-address {1695            container secondary-address {
1666              description1696              description
1667                "Enable/Disable secondary address suppression";1697                "Enable/Disable secondary address suppression";
1668              container enable {1698              container enable {
1669                presence "Indicates a enable node is configured.";1699                presence "Indicates a enable node is configured.";
1670                description1700                description
1671                  "Enable secondary address suppression";1701                  "Enable secondary address suppression";
1672              }1702              }
1673            }1703            }
1674          }1704          }
1675          container default-information {1705          container default-information {
1676            description1706            description
1677              "Control distribution of default information";1707              "Control distribution of default information";
1678            container originate {1708            container originate {
1679              presence "Indicates a originate node is configured.";1709              presence "Indicates a originate node is configured.";
1680              description1710              description
1681                "Distribute a default route";1711                "Distribute a default route";
1682              container always {1712              container always {
1683                presence "Indicates a always node is configured.";1713                presence "Indicates a always node is configured.";
1684                description1714                description
1685                  "Always advertise default route";1715                  "Always advertise default route";
1686              }1716              }
1687              leaf metric {1717              leaf metric {
1688                type uint32 {1718                type uint32 {
1689                  range "1..16777214" {1719                  range "1..16777214" {
1690                    description1720                    description
1691                      "OSPF metric";1721                      "OSPF metric";
1692                  }1722                  }
1693                }1723                }
1694                description1724                description
1695                  "OSPF default metric";1725                  "OSPF default metric";
1696              }1726              }
1697              leaf metric-type {1727              leaf metric-type {
1698                type uint32 {1728                type uint32 {
1699                  range "1..2" {1729                  range "1..2" {
1700                    description1730                    description
1701                      "OSPF Link State type";1731                      "OSPF Link State type";
1702                  }1732                  }
1703                }1733                }
1704                description1734                description
1705                  "OSPF metric type for default routes";1735                  "OSPF metric type for default routes";
1706              }1736              }
1707              leaf route-policy {1737              leaf route-policy {
1708                type xr:Route-policy-name;1738                type xr:Route-policy-name;
1709                description1739                description
1710                  "Apply route-policy to default-information origination";1740                  "Apply route-policy to default-information origination";
1711              }1741              }
1712            }1742            }
1713          }1743          }
1714          leaf default-metric {1744          leaf default-metric {
1715            type uint32 {1745            type uint32 {
1716              range "1..16777214" {1746              range "1..16777214" {
1717                description1747                description
1718                  "Default metric";1748                  "Default metric";
1719              }1749              }
1720            }1750            }
1721            description1751            description
1722              "Default metric";1752              "Default metric";
1723          }1753          }
1724          container distance {1754          container distance {
1725            description1755            description
1726              "Define an administrative distance";1756              "Define an administrative distance";
1727            container administrative-distance {1757            container administrative-distance {
1728              description1758              description
1729                "Administrative distance";1759                "Administrative distance";
1730              leaf administrative-distance {1760              leaf administrative-distance {
1731                type uint32 {1761                type uint32 {
1732                  range "1..255" {1762                  range "1..255" {
1733                    description1763                    description
1734                      "Administrative distance";1764                      "Administrative distance";
1735                  }1765                  }
1736                }1766                }
1737                default "110";1767                default "110";
1738                description1768                description
1739                  "Administrative distance";1769                  "Administrative distance";
1740              }1770              }
1741              container source-addresses {1771              container source-addresses {
1742                description1772                description
1743                  "configure this node";1773                  "configure this node";
1744                list source-address {1774                list source-address {
1745                  key "address wildcard";1775                  key "address wildcard";
1746                  description1776                  description
1747                    "source address";1777                    "source address";
1748                  leaf address {1778                  leaf address {
1749                    type inet:ipv4-address-no-zone;1779                    type inet:ipv4-address-no-zone;
1750                    description1780                    description
1751                      "IP Source address";1781                      "IP Source address";
1752                  }1782                  }
1753                  leaf wildcard {1783                  leaf wildcard {
1754                    type inet:ipv4-address-no-zone;1784                    type inet:ipv4-address-no-zone;
1755                    description1785                    description
1756                      "IP wild card bits -- inverted mask";1786                      "IP wild card bits -- inverted mask";
1757                  }1787                  }
1758                  leaf distance {1788                  leaf distance {
1759                    type uint32 {1789                    type uint32 {
1760                      range "1..255";1790                      range "1..255";
1761                    }1791                    }
1762                    mandatory true;1792                    mandatory true;
1763                    description1793                    description
1764                      "Administrative distance";1794                      "Administrative distance";
1765                  }1795                  }
1766                  leaf access-list-name {1796                  leaf access-list-name {
1767                    type string;1797                    type string;
1768                    description1798                    description
1769                      "Access Control List name";1799                      "Access Control List name";
1770                  }1800                  }
1771                }1801                }
1772              }1802              }
1773            }1803            }
1774            container ospf {1804            container ospf {
1775              description1805              description
1776                "OSPF distance";1806                "OSPF distance";
1777              leaf intra-area {1807              leaf intra-area {
1778                type uint32 {1808                type uint32 {
1779                  range "1..255" {1809                  range "1..255" {
1780                    description1810                    description
1781                      "Distance for intra-area routes";1811                      "Distance for intra-area routes";
1782                  }1812                  }
1783                }1813                }
1784                description1814                description
1785                  "Intra-area routes";1815                  "Intra-area routes";
1786              }1816              }
1787              leaf inter-area {1817              leaf inter-area {
1788                type uint32 {1818                type uint32 {
1789                  range "1..255" {1819                  range "1..255" {
1790                    description1820                    description
1791                      "Distance for inter-area routes";1821                      "Distance for inter-area routes";
1792                  }1822                  }
1793                }1823                }
1794                description1824                description
1795                  "Inter-area routes";1825                  "Inter-area routes";
1796              }1826              }
1797              leaf external {1827              leaf external {
1798                type uint32 {1828                type uint32 {
1799                  range "1..255" {1829                  range "1..255" {
1800                    description1830                    description
1801                      "Distance for external type 5 and type 7 routes";1831                      "Distance for external type 5 and type 7 routes";
1802                  }1832                  }
1803                }1833                }
1804                description1834                description
1805                  "External type 5 and type 7 routes";1835                  "External type 5 and type 7 routes";
1806              }1836              }
1807            }1837            }
1808          }1838          }
1809          container auto-cost {1839          container auto-cost {
1810            description1840            description
1811              "Calculate OSPF interface cost according to bandwidth";1841              "Calculate OSPF interface cost according to bandwidth";
1812            leaf reference-bandwidth {1842            leaf reference-bandwidth {
1813              type uint32 {1843              type uint32 {
1814                range "1..2147483647" {1844                range "1..2147483647" {
1815                  description1845                  description
1816                    "The reference bandwidth in terms of Mbits per second";1846                    "The reference bandwidth in terms of Mbits per second";
1817                }1847                }
1818              }1848              }
1819              description1849              description
1820                "Specify reference bandwidth for OSPF cost computations";1850                "Specify reference bandwidth for OSPF cost computations";
1821            }1851            }
1822            container disable {1852            container disable {
1823              presence "Indicates a disable node is configured.";1853              presence "Indicates a disable node is configured.";
1824              description1854              description
1825                "Assign OSPF cost based on interface type";1855                "Assign OSPF cost based on interface type";
1826            }1856            }
1827          }1857          }
1828          container ignore {1858          container ignore {
1829            description1859            description
1830              "Do not complain about specific event";1860              "Do not complain about specific event";
1831            container lsa {1861            container lsa {
1832              description1862              description
1833                "Do not complain upon receiving LSA of the specified type";1863                "Do not complain upon receiving LSA of the specified type";
1834              container mospf {1864              container mospf {
1835                presence "Indicates a mospf node is configured.";1865                presence "Indicates a mospf node is configured.";
1836                description1866                description
1837                  "MOSPF Type 6 LSA";1867                  "MOSPF Type 6 LSA";
1838              }1868              }
1839            }1869            }
1840          }1870          }
1841          container capability {1871          container capability {
1842            description1872            description
1843              "Enable specific OSPF feature";1873              "Enable specific OSPF feature";
1844            container opaque {1874            container opaque {
1845              description1875              description
1846                "Opaque LSA";1876                "Opaque LSA";
1847              container disable {1877              container disable {
1848                presence "Indicates a disable node is configured.";1878                presence "Indicates a disable node is configured.";
1849                description1879                description
1850                  "Disable Opaque LSA capability";1880                  "Disable Opaque LSA capability";
1851              }1881              }
1852            }1882            }
1853            container lls {1883            container lls {
1854              presence "Indicates a lls node is configured.";1884              presence "Indicates a lls node is configured.";
1855              description1885              description
1856                "Link Local Signalling";1886                "Link Local Signalling";
1857              container disable {1887              container disable {
1858                presence "Indicates a disable node is configured.";1888                presence "Indicates a disable node is configured.";
1859                description1889                description
1860                  "Disable Link Local Signalling capability";1890                  "Disable Link Local Signalling capability";
1861              }1891              }
1862            }1892            }
1863            container type7 {1893            container type7 {
1864              description1894              description
1865                "NSSA capability";1895                "NSSA capability";
1866              container prefer {1896              container prefer {
1867                presence "Indicates a prefer node is configured.";1897                presence "Indicates a prefer node is configured.";
1868                description1898                description
1869                  "Prefer type7 externals over type5";1899                  "Prefer type7 externals over type5";
1870              }1900              }
1871            }1901            }
1872          }1902          }
1873          container max-metric {1903          container max-metric {
1874            description1904            description
1875              "Set maximum metric";1905              "Set maximum metric";
1876            container router-lsa {1906            container router-lsa {
1877              presence "Indicates a router-lsa node is configured.";1907              presence "Indicates a router-lsa node is configured.";
1878              description1908              description
1879                "Maximum metric in self-originated router-LSAs";1909                "Maximum metric in self-originated router-LSAs";
1880              container include-stub {1910              container include-stub {
1881                presence "Indicates a include-stub node is configured.";1911                presence "Indicates a include-stub node is configured.";
1882                description1912                description
1883                  "Set maximum metric for stub links in router-LSAs";1913                  "Set maximum metric for stub links in router-LSAs";
1884              }1914              }
1885              container summary-lsa {1915              container summary-lsa {
1886                presence "Indicates a summary-lsa node is configured.";1916                presence "Indicates a summary-lsa node is configured.";
1887                description1917                description
1888                  "Override summary-lsa metric with max-metric value";1918                  "Override summary-lsa metric with max-metric value";
1889                leaf metric {1919                leaf metric {
1890                  type uint32 {1920                  type uint32 {
1891                    range "1..16777215" {1921                    range "1..16777215" {
1892                      description1922                      description
1893                        "Overriding metric in summary-LSAs (default 16711680)";1923                        "Overriding metric in summary-LSAs (default 16711680)";
1894                    }1924                    }
1895                  }1925                  }
1896                  description1926                  description
1897                    "Override summary-lsa metric with max-metric value";1927                    "Override summary-lsa metric with max-metric value";
1898                }1928                }
1899              }1929              }
1900              container external-lsa {1930              container external-lsa {
1901                presence "Indicates a external-lsa node is configured.";1931                presence "Indicates a external-lsa node is configured.";
1902                description1932                description
1903                  "Override external-lsa metric with max-metric value";1933                  "Override external-lsa metric with max-metric value";
1904                leaf metric {1934                leaf metric {
1905                  type uint32 {1935                  type uint32 {
1906                    range "1..16777215" {1936                    range "1..16777215" {
1907                      description1937                      description
1908                        "Overriding metric in external-LSAs (default 16711680)";1938                        "Overriding metric in external-LSAs (default 16711680)";
1909                    }1939                    }
1910                  }1940                  }
1911                  description1941                  description
1912                    "Override external-lsa metric with max-metric value";1942                    "Override external-lsa metric with max-metric value";
1913                }1943                }
1914              }1944              }
1915            }1945            }
1916            container router-lsa-no-abr-off {1946            container router-lsa-no-abr-off {
1917              presence "Indicates a no-abr-off node is configured.";1947              presence "Indicates a no-abr-off node is configured.";
1918              description1948              description
1919                "Do not temporarily suspend ABR duties in max-metric mode";1949                "Do not temporarily suspend ABR duties in max-metric mode";
1920            }1950            }
1921            container router-lsa-on-startup {1951            container router-lsa-on-startup {
1922              description1952              description
1923                "On startup";1953                "On startup";
1924              leaf originate-time {1954              leaf originate-time {
1925                type uint32 {1955                type uint32 {
1926                  range "5..86400" {1956                  range "5..86400" {
1927                    description1957                    description
1928                      "Time in seconds to originate router-LSA with max-metric";1958                      "Time in seconds to originate router-LSA with max-metric";
1929                  }1959                  }
1930                }1960                }
1931                must "not(../wait-for-bgp)";1961                must "not(../wait-for-bgp)";
1932                description1962                description
1933                  "Time in seconds to originate router-LSA with max-metric";1963                  "Time in seconds to originate router-LSA with max-metric";
1934              }1964              }
1935              container wait-for-bgp {1965              container wait-for-bgp {
1936                must "not(../originate-time)";1966                must "not(../originate-time)";
1937                presence "Indicates a wait-for-bgp node is configured.";1967                presence "Indicates a wait-for-bgp node is configured.";
1938                description1968                description
1939                  "Let BGP decide when to originate router-LSA with normal metric";1969                  "Let BGP decide when to originate router-LSA with normal metric";
1940              }1970              }
1941              container include-stub {1971              container include-stub {
1942                presence "Indicates a include-stub node is configured.";1972                presence "Indicates a include-stub node is configured.";
1943                description1973                description
1944                  "Set maximum metric for stub links in router-LSAs";1974                  "Set maximum metric for stub links in router-LSAs";
1945              }1975              }
1946              container summary-lsa {1976              container summary-lsa {
1947                presence "Indicates a summary-lsa node is configured.";1977                presence "Indicates a summary-lsa node is configured.";
1948                description1978                description
1949                  "Overriding metric in summary-LSAs (default 16711680)";1979                  "Overriding metric in summary-LSAs (default 16711680)";
1950                leaf metric {1980                leaf metric {
1951                  type uint32 {1981                  type uint32 {
1952                    range "1..16777215" {1982                    range "1..16777215" {
1953                      description1983                      description
1954                        "Overriding metric in summary-LSAs (default 16711680)";1984                        "Overriding metric in summary-LSAs (default 16711680)";
1955                    }1985                    }
1956                  }1986                  }
1957                  description1987                  description
1958                    "Overriding metric in summary-LSAs (default 16711680)";1988                    "Overriding metric in summary-LSAs (default 16711680)";
1959                }1989                }
1960              }1990              }
1961              container external-lsa {1991              container external-lsa {
1962                presence "Indicates a external-lsa node is configured.";1992                presence "Indicates a external-lsa node is configured.";
1963                description1993                description
1964                  "Override external-lsa metric with max-metric value";1994                  "Override external-lsa metric with max-metric value";
1965                leaf metric {1995                leaf metric {
1966                  type uint32 {1996                  type uint32 {
1967                    range "1..16777215" {1997                    range "1..16777215" {
1968                      description1998                      description
1969                        "Overriding metric in external-LSAs (default 16711680)";1999                        "Overriding metric in external-LSAs (default 16711680)";
1970                    }2000                    }
1971                  }2001                  }
1972                  description2002                  description
1973                    "Override external-lsa metric with max-metric value";2003                    "Override external-lsa metric with max-metric value";
1974                }2004                }
1975              }2005              }
1976            }2006            }
1977            container router-lsa-on-switchover {2007            container router-lsa-on-switchover {
1978              description2008              description
1979                "On switchover";2009                "On switchover";
1980              leaf originate-time {2010              leaf originate-time {
1981                type uint32 {2011                type uint32 {
1982                  range "5..86400" {2012                  range "5..86400" {
1983                    description2013                    description
1984                      "Time in seconds to originate router-LSA with max-metric";2014                      "Time in seconds to originate router-LSA with max-metric";
1985                  }2015                  }
1986                }2016                }
1987                must "not(../wait-for-bgp)";2017                must "not(../wait-for-bgp)";
1988                description2018                description
1989                  "Time in seconds to originate router-LSA with max-metric";2019                  "Time in seconds to originate router-LSA with max-metric";
1990              }2020              }
1991              container wait-for-bgp {2021              container wait-for-bgp {
1992                must "not(../originate-time)";2022                must "not(../originate-time)";
1993                presence "Indicates a wait-for-bgp node is configured.";2023                presence "Indicates a wait-for-bgp node is configured.";
1994                description2024                description
1995                  "Let BGP decide when to originate router-LSA with normal metric";2025                  "Let BGP decide when to originate router-LSA with normal metric";
1996              }2026              }
1997              container include-stub {2027              container include-stub {
1998                presence "Indicates a include-stub node is configured.";2028                presence "Indicates a include-stub node is configured.";
1999                description2029                description
2000                  "Set maximum metric for stub links in router-LSAs";2030                  "Set maximum metric for stub links in router-LSAs";
2001              }2031              }
2002              container summary-lsa {2032              container summary-lsa {
2003                presence "Indicates a summary-lsa node is configured.";2033                presence "Indicates a summary-lsa node is configured.";
2004                description2034                description
2005                  "Overriding metric in summary-LSAs (default 16711680)";2035                  "Overriding metric in summary-LSAs (default 16711680)";
2006                leaf metric {2036                leaf metric {
2007                  type uint32 {2037                  type uint32 {
2008                    range "1..16777215" {2038                    range "1..16777215" {
2009                      description2039                      description
2010                        "Overriding metric in summary-LSAs (default 16711680)";2040                        "Overriding metric in summary-LSAs (default 16711680)";
2011                    }2041                    }
2012                  }2042                  }
2013                  description2043                  description
2014                    "Overriding metric in summary-LSAs (default 16711680)";2044                    "Overriding metric in summary-LSAs (default 16711680)";
2015                }2045                }
2016              }2046              }
2017              container external-lsa {2047              container external-lsa {
2018                presence "Indicates a external-lsa node is configured.";2048                presence "Indicates a external-lsa node is configured.";
2019                description2049                description
2020                  "Override external-lsa metric with max-metric value";2050                  "Override external-lsa metric with max-metric value";
2021                leaf metric {2051                leaf metric {
2022                  type uint32 {2052                  type uint32 {
2023                    range "1..16777215" {2053                    range "1..16777215" {
2024                      description2054                      description
2025                        "Overriding metric in external-LSAs (default 16711680)";2055                        "Overriding metric in external-LSAs (default 16711680)";
2026                    }2056                    }
2027                  }2057                  }
2028                  description2058                  description
2029                    "Override external-lsa metric with max-metric value";2059                    "Override external-lsa metric with max-metric value";
2030                }2060                }
2031              }2061              }
2032            }2062            }
2033            container router-lsa-on-proc-restart {2063            container router-lsa-on-proc-restart {
2034              description2064              description
2035                "On process restart";2065                "On process restart";
2036              leaf originate-time {2066              leaf originate-time {
2037                type uint32 {2067                type uint32 {
2038                  range "5..86400" {2068                  range "5..86400" {
2039                    description2069                    description
2040                      "Time in seconds to originate router-LSA with max-metric";2070                      "Time in seconds to originate router-LSA with max-metric";
2041                  }2071                  }
2042                }2072                }
2043                must "not(../wait-for-bgp)";2073                must "not(../wait-for-bgp)";
2044                description2074                description
2045                  "Time in seconds to originate router-LSA with max-metric";2075                  "Time in seconds to originate router-LSA with max-metric";
2046              }2076              }
2047              container wait-for-bgp {2077              container wait-for-bgp {
2048                must "not(../originate-time)";2078                must "not(../originate-time)";
2049                presence "Indicates a wait-for-bgp node is configured.";2079                presence "Indicates a wait-for-bgp node is configured.";
2050                description2080                description
2051                  "Let BGP decide when to originate router-LSA with normal metric";2081                  "Let BGP decide when to originate router-LSA with normal metric";
2052              }2082              }
2053              container include-stub {2083              container include-stub {
2054                presence "Indicates a include-stub node is configured.";2084                presence "Indicates a include-stub node is configured.";
2055                description2085                description
2056                  "Set maximum metric for stub links in router-LSAs";2086                  "Set maximum metric for stub links in router-LSAs";
2057              }2087              }
2058              container summary-lsa {2088              container summary-lsa {
2059                presence "Indicates a summary-lsa node is configured.";2089                presence "Indicates a summary-lsa node is configured.";
2060                description2090                description
2061                  "Overriding metric in summary-LSAs (default 16711680)";2091                  "Overriding metric in summary-LSAs (default 16711680)";
2062                leaf metric {2092                leaf metric {
2063                  type uint32 {2093                  type uint32 {
2064                    range "1..16777215" {2094                    range "1..16777215" {
2065                      description2095                      description
2066                        "Overriding metric in summary-LSAs (default 16711680)";2096                        "Overriding metric in summary-LSAs (default 16711680)";
2067                    }2097                    }
2068                  }2098                  }
2069                  description2099                  description
2070                    "Overriding metric in summary-LSAs (default 16711680)";2100                    "Overriding metric in summary-LSAs (default 16711680)";
2071                }2101                }
2072              }2102              }
2073              container external-lsa {2103              container external-lsa {
2074                presence "Indicates a external-lsa node is configured.";2104                presence "Indicates a external-lsa node is configured.";
2075                description2105                description
2076                  "Override external-lsa metric with max-metric value";2106                  "Override external-lsa metric with max-metric value";
2077                leaf metric {2107                leaf metric {
2078                  type uint32 {2108                  type uint32 {
2079                    range "1..16777215" {2109                    range "1..16777215" {
2080                      description2110                      description
2081                        "Overriding metric in external-LSAs (default 16711680)";2111                        "Overriding metric in external-LSAs (default 16711680)";
2082                    }2112                    }
2083                  }2113                  }
2084                  description2114                  description
2085                    "Override external-lsa metric with max-metric value";2115                    "Override external-lsa metric with max-metric value";
2086                }2116                }
2087              }2117              }
2088            }2118            }
2089            container router-lsa-on-proc-migration {2119            container router-lsa-on-proc-migration {
2090              description2120              description
2091                "On process migration";2121                "On process migration";
2092              leaf originate-time {2122              leaf originate-time {
2093                type uint32 {2123                type uint32 {
2094                  range "5..86400" {2124                  range "5..86400" {
2095                    description2125                    description
2096                      "Time in seconds to originate router-LSA with max-metric";2126                      "Time in seconds to originate router-LSA with max-metric";
2097                  }2127                  }
2098                }2128                }
2099                must "not(../wait-for-bgp)";2129                must "not(../wait-for-bgp)";
2100                description2130                description
2101                  "Time in seconds to originate router-LSA with max-metric";2131                  "Time in seconds to originate router-LSA with max-metric";
2102              }2132              }
2103              container wait-for-bgp {2133              container wait-for-bgp {
2104                must "not(../originate-time)";2134                must "not(../originate-time)";
2105                presence "Indicates a wait-for-bgp node is configured.";2135                presence "Indicates a wait-for-bgp node is configured.";
2106                description2136                description
2107                  "Let BGP decide when to originate router-LSA with normal metric";2137                  "Let BGP decide when to originate router-LSA with normal metric";
2108              }2138              }
2109              container include-stub {2139              container include-stub {
2110                presence "Indicates a include-stub node is configured.";2140                presence "Indicates a include-stub node is configured.";
2111                description2141                description
2112                  "Set maximum metric for stub links in router-LSAs";2142                  "Set maximum metric for stub links in router-LSAs";
2113              }2143              }
2114              container summary-lsa {2144              container summary-lsa {
2115                presence "Indicates a summary-lsa node is configured.";2145                presence "Indicates a summary-lsa node is configured.";
2116                description2146                description
2117                  "Overriding metric in summary-LSAs (default 16711680)";2147                  "Overriding metric in summary-LSAs (default 16711680)";
2118                leaf metric {2148                leaf metric {
2119                  type uint32 {2149                  type uint32 {
2120                    range "1..16777215" {2150                    range "1..16777215" {
2121                      description2151                      description
2122                        "Overriding metric in summary-LSAs (default 16711680)";2152                        "Overriding metric in summary-LSAs (default 16711680)";
2123                    }2153                    }
2124                  }2154                  }
2125                  description2155                  description
2126                    "Overriding metric in summary-LSAs (default 16711680)";2156                    "Overriding metric in summary-LSAs (default 16711680)";
2127                }2157                }
2128              }2158              }
2129              container external-lsa {2159              container external-lsa {
2130                presence "Indicates a external-lsa node is configured.";2160                presence "Indicates a external-lsa node is configured.";
2131                description2161                description
2132                  "Override external-lsa metric with max-metric value";2162                  "Override external-lsa metric with max-metric value";
2133                leaf metric {2163                leaf metric {
2134                  type uint32 {2164                  type uint32 {
2135                    range "1..16777215" {2165                    range "1..16777215" {
2136                      description2166                      description
2137                        "Overriding metric in external-LSAs (default 16711680)";2167                        "Overriding metric in external-LSAs (default 16711680)";
2138                    }2168                    }
2139                  }2169                  }
2140                  description2170                  description
2141                    "Override external-lsa metric with max-metric value";2171                    "Override external-lsa metric with max-metric value";
2142                }2172                }
2143              }2173              }
2144            }2174            }
2145          }2175          }
2146          container max-lsa {2176          container max-lsa {
2147            presence "Indicates a max-lsa node is configured.";2177            presence "Indicates a max-lsa node is configured.";
2148            description2178            description
2149              "Maximum number of LSAs OSPF process will receive";2179              "Maximum number of LSAs OSPF process will receive";
2150            leaf max-lsa {2180            leaf max-lsa {
2151              type uint32 {2181              type uint32 {
2152                range "1..4294967294" {2182                range "1..4294967294" {
2153                  description2183                  description
2154                    "Maximum number of non self-generated LSAs this process can receive";2184                    "Maximum number of non self-generated LSAs this process can receive";
2155                }2185                }
2156              }2186              }
2157              mandatory true;2187              mandatory true;
2158              description2188              description
2159                "Maximum number of LSAs OSPF process will receive";2189                "Maximum number of LSAs OSPF process will receive";
2160            }2190            }
2161            leaf threshold {2191            leaf threshold {
2162              type uint32 {2192              type uint32 {
2163                range "1..100";2193                range "1..100";
2164              }2194              }
2165              description2195              description
2166                "Threshold value (%) at which to generate a warning msg";2196                "Threshold value (%) at which to generate a warning msg";
2167            }2197            }
2168            container warning-only {2198            container warning-only {
2169              presence "Indicates a warning-only node is configured.";2199              presence "Indicates a warning-only node is configured.";
2170              description2200              description
2171                "Only give warning message when limit is exceeded";2201                "Only give warning message when limit is exceeded";
2172            }2202            }
2173            leaf ignore-time {2203            leaf ignore-time {
2174              type uint32 {2204              type uint32 {
2175                range "1..17895697" {2205                range "1..17895697" {
2176                  description2206                  description
2177                    "number of minutes during which all adjacencies are suppressed";2207                    "number of minutes during which all adjacencies are suppressed";
2178                }2208                }
2179              }2209              }
2180              must "not(../warning-only)";2210              must "not(../warning-only)";
2181              description2211              description
2182                "time during which all adjacencies are suppressed";2212                "time during which all adjacencies are suppressed";
2183            }2213            }
2184            leaf ignore-count {2214            leaf ignore-count {
2185              type uint32 {2215              type uint32 {
2186                range "1..4294967294" {2216                range "1..4294967294" {
2187                  description2217                  description
2188                    "count on how many times adjacencies can be suppressed";2218                    "count on how many times adjacencies can be suppressed";
2189                }2219                }
2190              }2220              }
2191              must "not(../warning-only)";2221              must "not(../warning-only)";
2192              description2222              description
2193                "maximum number of times adjacencies can be suppressed";2223                "maximum number of times adjacencies can be suppressed";
2194            }2224            }
2195            leaf reset-time {2225            leaf reset-time {
2196              type uint32 {2226              type uint32 {
2197                range "2..35791394" {2227                range "2..35791394" {
2198                  description2228                  description
2199                    "number of minutes after which ignore-count is reset to zero";2229                    "number of minutes after which ignore-count is reset to zero";
2200                }2230                }
2201              }2231              }
2202              must "not(../warning-only)";2232              must "not(../warning-only)";
2203              description2233              description
2204                "time after which ignore-count is reset to zero";2234                "time after which ignore-count is reset to zero";
2205            }2235            }
2206          }2236          }
2207          container timers {2237          container timers {
2208            description2238            description
2209              "Adjust routing timers";2239              "Adjust routing timers";
2210            container throttle {2240            container throttle {
2211              description2241              description
2212                "OSPF throttle timers";2242                "OSPF throttle timers";
2213              container spf {2243              container spf {
2214                presence "Indicates a spf node is configured.";2244                presence "Indicates a spf node is configured.";
2215                description2245                description
2216                  "OSPF SPF throttle timers";2246                  "OSPF SPF throttle timers";
2217                leaf initial-delay {2247                leaf initial-delay {
2218                  type uint32 {2248                  type uint32 {
2219                    range "1..600000" {2249                    range "1..600000" {
2220                      description2250                      description
2221                        "Delay between receiving a change to SPF calculation in milliseconds";2251                        "Delay between receiving a change to SPF calculation in milliseconds";
2222                    }2252                    }
2223                  }2253                  }
2224                  mandatory true;2254                  mandatory true;
2225                  description2255                  description
2226                    "OSPF SPF throttle timers";2256                    "OSPF SPF throttle timers";
2227                }2257                }
2228                leaf second-delay {2258                leaf second-delay {
2229                  type uint32 {2259                  type uint32 {
2230                    range "1..600000" {2260                    range "1..600000" {
2231                      description2261                      description
2232                        "Delay between first and second SPF calculation in milliseconds";2262                        "Delay between first and second SPF calculation in milliseconds";
2233                    }2263                    }
2234                  }2264                  }
2235                  mandatory true;2265                  mandatory true;
2236                  description2266                  description
2237                    "Delay between first and second SPF calculation in milliseconds";2267                    "Delay between first and second SPF calculation in milliseconds";
2238                }2268                }
2239                leaf maximum-delay {2269                leaf maximum-delay {
2240                  type uint32 {2270                  type uint32 {
2241                    range "1..600000" {2271                    range "1..600000" {
2242                      description2272                      description
2243                        "Maximum wait time in milliseconds for SPF calculations";2273                        "Maximum wait time in milliseconds for SPF calculations";
2244                    }2274                    }
2245                  }2275                  }
2246                  mandatory true;2276                  mandatory true;
2247                  description2277                  description
2248                    "Maximum wait time in milliseconds for SPF calculations";2278                    "Maximum wait time in milliseconds for SPF calculations";
2249                }2279                }
2250              }2280              }
2251              container lsa {2281              container lsa {
2252                description2282                description
2253                  "LSA throttle timers";2283                  "LSA throttle timers";
2254                container all {2284                container all {
2255                  presence "Indicates a all node is configured.";2285                  presence "Indicates a all node is configured.";
2256                  description2286                  description
2257                    "For all types of OSPF LSAs";2287                    "For all types of OSPF LSAs";
2258                  leaf initial-delay {2288                  leaf initial-delay {
2259                    type uint32 {2289                    type uint32 {
2260                      range "0..600000" {2290                      range "0..600000" {
2261                        description2291                        description
2262                          "Delay to generate first occurance of LSA in milliseconds";2292                          "Delay to generate first occurance of LSA in milliseconds";
2263                      }2293                      }
2264                    }2294                    }
2265                    mandatory true;2295                    mandatory true;
2266                    description2296                    description
2267                      "For all types of OSPF LSAs";2297                      "For all types of OSPF LSAs";
2268                  }2298                  }
2269                  leaf minimum-delay {2299                  leaf minimum-delay {
2270                    type uint32 {2300                    type uint32 {
2271                      range "1..600000" {2301                      range "1..600000" {
2272                        description2302                        description
2273                          "Minimum delay between originating the same LSA in milliseconds";2303                          "Minimum delay between originating the same LSA in milliseconds";
2274                      }2304                      }
2275                    }2305                    }
2276                    mandatory true;2306                    mandatory true;
2277                    description2307                    description
2278                      "Minimum delay between originating the same LSA in milliseconds";2308                      "Minimum delay between originating the same LSA in milliseconds";
2279                  }2309                  }
2280                  leaf maximum-delay {2310                  leaf maximum-delay {
2281                    type uint32 {2311                    type uint32 {
2282                      range "1..600000" {2312                      range "1..600000" {
2283                        description2313                        description
2284                          "Maximum delay between originating the same LSA in milliseconds";2314                          "Maximum delay between originating the same LSA in milliseconds";
2285                      }2315                      }
2286                    }2316                    }
2287                    mandatory true;2317                    mandatory true;
2288                    description2318                    description
2289                      "Maximum delay between originating the same LSA in milliseconds";2319                      "Maximum delay between originating the same LSA in milliseconds";
2290                  }2320                  }
2291                }2321                }
2292              }2322              }
2293              leaf fast-reroute {2323              leaf fast-reroute {
2294                type uint32 {2324                type uint32 {
2295                  range "50..600000" {2325                  range "50..600000" {
2296                    description2326                    description
2297                      "Delay between end of SPF and start of the fast-reroute computation in milliseconds";2327                      "Delay between end of SPF and start of the fast-reroute computation in milliseconds";
2298                  }2328                  }
2299                }2329                }
2300                description2330                description
2301                  "Fast-reroute throttle timer";2331                  "Fast-reroute throttle timer";
2302              }2332              }
2303            }2333            }
2304            container lsa {2334            container lsa {
2305              description2335              description
2306                "OSPF global LSA timers";2336                "OSPF global LSA timers";
2307              leaf group-pacing {2337              leaf group-pacing {
2308                type uint32 {2338                type uint32 {
2309                  range "10..1800" {2339                  range "10..1800" {
2310                    description2340                    description
2311                      "Interval between group of LSA being refreshed or maxaged";2341                      "Interval between group of LSA being refreshed or maxaged";
2312                  }2342                  }
2313                }2343                }
2314                description2344                description
2315                  "OSPF LSA group pacing timer";2345                  "OSPF LSA group pacing timer";
2316              }2346              }
2317              leaf min-arrival {2347              leaf min-arrival {
2318                type uint32 {2348                type uint32 {
2319                  range "0..600000" {2349                  range "0..600000" {
2320                    description2350                    description
2321                      "The minimum interval in millisec between accepting the same LSA";2351                      "The minimum interval in millisec between accepting the same LSA";
2322                  }2352                  }
2323                }2353                }
2324                description2354                description
2325                  "OSPF MinLSArrival timer";2355                  "OSPF MinLSArrival timer";
2326              }2356              }
2327              leaf refresh {2357              leaf refresh {
2328                type uint32 {2358                type uint32 {
2329                  range "1800..2700" {2359                  range "1800..2700" {
2330                    description2360                    description
2331                      "How often self-originated LSAs should be refreshed, in seconds";2361                      "How often self-originated LSAs should be refreshed, in seconds";
2332                  }2362                  }
2333                }2363                }
2334                description2364                description
2335                  "OSPF LSA refresh interval";2365                  "OSPF LSA refresh interval";
2336              }2366              }
2337            }2367            }
2338            container pacing {2368            container pacing {
2339              description2369              description
2340                "OSPF pacing timers";2370                "OSPF pacing timers";
2341              leaf flood {2371              leaf flood {
2342                type uint32 {2372                type uint32 {
2343                  range "5..100" {2373                  range "5..100" {
2344                    description2374                    description
2345                      "Interval in msec to pace flooding on all interfaces";2375                      "Interval in msec to pace flooding on all interfaces";
2346                  }2376                  }
2347                }2377                }
2348                description2378                description
2349                  "OSPF flood pacing timer";2379                  "OSPF flood pacing timer";
2350              }2380              }
2351            }2381            }
2352            container graceful-shutdown {2382            container graceful-shutdown {
2353              description2383              description
2354                "Timers for graceful shutdown";2384                "Timers for graceful shutdown";
2355              container retain {2385              container retain {
2356                description2386                description
2357                  "Time to keep routes active after graceful shutdown";2387                  "Time to keep routes active after graceful shutdown";
2358                leaf routes {2388                leaf routes {
2359                  type uint32 {2389                  type uint32 {
2360                    range "0..90" {2390                    range "0..90" {
2361                      description2391                      description
2362                        "Seconds to keep routes active after graceful shutdown";2392                        "Seconds to keep routes active after graceful shutdown";
2363                    }2393                    }
2364                  }2394                  }
2365                  description2395                  description
2366                    "Time to keep routes active after graceful shutdown";2396                    "Time to keep routes active after graceful shutdown";
2367                }2397                }
2368              }2398              }
2369              container initial {2399              container initial {
2370                description2400                description
2371                  "Delay before starting graceful shutdown";2401                  "Delay before starting graceful shutdown";
2372                leaf delay {2402                leaf delay {
2373                  type uint32 {2403                  type uint32 {
2374                    range "0..90" {2404                    range "0..90" {
2375                      description2405                      description
2376                        "Seconds to delay before beginning graceful shutdown";2406                        "Seconds to delay before beginning graceful shutdown";
2377                    }2407                    }
2378                  }2408                  }
2379                  description2409                  description
2380                    "Delay before starting graceful shutdown";2410                    "Delay before starting graceful shutdown";
2381                }2411                }
2382              }2412              }
2383            }2413            }
2384          }2414          }
2385          container nsf {2415          container nsf {
2386            description2416            description
2387              "Enable Cisco Non Stop Forwarding";2417              "Enable Cisco Non Stop Forwarding";
2388            container cisco {2418            container cisco {
2389              presence "Indicates a cisco node is configured.";2419              presence "Indicates a cisco node is configured.";
2390              description2420              description
2391                "Enable Cisco Non Stop Forwarding";2421                "Enable Cisco Non Stop Forwarding";
2392              container enforce {2422              container enforce {
2393                description2423                description
2394                  "Cancel NSF restart when non-NSF-aware neighbors detected";2424                  "Cancel NSF restart when non-NSF-aware neighbors detected";
2395                container global {2425                container global {
2396                  presence "Indicates a global node is configured.";2426                  presence "Indicates a global node is configured.";
2397                  description2427                  description
2398                    "For the whole OSPF process";2428                    "For the whole OSPF process";
2399                }2429                }
2400              }2430              }
2401            }2431            }
2402            leaf interval {2432            leaf interval {
2403              type uint32 {2433              type uint32 {
2404                range "90..3600" {2434                range "90..3600" {
2405                  description2435                  description
2406                    "seconds";2436                    "seconds";
2407                }2437                }
2408              }2438              }
2409              description2439              description
2410                "Minimum interval between NSF restarts (seconds)";2440                "Minimum interval between NSF restarts (seconds)";
2411            }2441            }
2412            container ietf {2442            container ietf {
2413              presence "Indicates a ietf node is configured.";2443              presence "Indicates a ietf node is configured.";
2414              description2444              description
2415                "Enable ietf graceful restart";2445                "Enable ietf graceful restart";
2416            }2446            }
2417            container ietf-strict-lsa-checking {2447            container ietf-strict-lsa-checking {
2418              presence "Indicates a strict-lsa-checking node is configured.";2448              presence "Indicates a strict-lsa-checking node is configured.";
2419              description2449              description
2420                "terminate graceful restart helper mode if lsa changed";2450                "terminate graceful restart helper mode if lsa changed";
2421            }2451            }
2422            container ietf-helper {2452            container ietf-helper {
2423              description2453              description
2424                "router's helper support level";2454                "router's helper support level";
2425              container disable {2455              container disable {
2426                presence "Indicates a disable node is configured.";2456                presence "Indicates a disable node is configured.";
2427                description2457                description
2428                  "router's helper support disabled";2458                  "router's helper support disabled";
2429              }2459              }
2430            }2460            }
2431            leaf lifetime {2461            leaf lifetime {
2432              type uint32 {2462              type uint32 {
2433                range "90..1800" {2463                range "90..1800" {
2434                  description2464                  description
2435                    "seconds";2465                    "seconds";
2436                }2466                }
2437              }2467              }
2438              description2468              description
2439                "Maximum route lifetime following restart (seconds)";2469                "Maximum route lifetime following restart (seconds)";
2440            }2470            }
2441            leaf flush-delay-time {2471            leaf flush-delay-time {
2442              type uint32 {2472              type uint32 {
2443                range "1..3600" {2473                range "1..3600" {
2444                  description2474                  description
2445                    "seconds";2475                    "seconds";
2446                }2476                }
2447              }2477              }
2448              description2478              description
2449                "Maximum time allowed for external route learning (seconds)";2479                "Maximum time allowed for external route learning (seconds)";
2450            }2480            }
2451          }2481          }
2452          container address-family {2482          container address-family {
2453            description2483            description
2454              "OSPF address family";2484              "OSPF address family";
2455            container ipv4 {2485            container ipv4 {
2456              presence "Indicates a ipv4 node is configured.";2486              presence "Indicates a ipv4 node is configured.";
2457              description2487              description
2458                "IPV4 address family";2488                "IPV4 address family";
2459              container unicast {2489              container unicast {
2460                presence "Indicates a unicast node is configured.";2490                presence "Indicates a unicast node is configured.";
2461                description2491                description
2462                  "unicast topology";2492                  "unicast topology";
2463              }2493              }
2464            }2494            }
2465          }2495          }
2466          container maximum {2496          container maximum {
2467            description2497            description
2468              "Set OSPF limits";2498              "Set OSPF limits";
2469            leaf interfaces {2499            leaf interfaces {
2470              type uint32 {2500              type uint32 {
2471                range "1..4294967295" {2501                range "1..4294967295" {
2472                  description2502                  description
2473                    "Maximum number of interfaces";2503                    "Maximum number of interfaces";
2474                }2504                }
2475              }2505              }
2476              description2506              description
2477                "Limit number of interfaces";2507                "Limit number of interfaces";
2478            }2508            }
2479            leaf paths {2509            leaf paths {
2480              type uint32 {2510              type uint32 {
2481                range "1..64" {2511                range "1..64" {
2482                  description2512                  description
2483                    "Maximum number of paths per route";2513                    "Maximum number of paths per route";
2484                }2514                }
2485              }2515              }
2486              description2516              description
2487                "Limit number of paths";2517                "Limit number of paths";
2488            }2518            }
2489            container redistributed-prefixes {2519            container redistributed-prefixes {
2490              presence "Indicates a redistributed-prefixes node is configured.";2520              presence "Indicates a redistributed-prefixes node is configured.";
2491              description2521              description
2492                "Limit number of redistributed prefixes";2522                "Limit number of redistributed prefixes";
2493              leaf prefixes {2523              leaf prefixes {
2494                type uint32 {2524                type uint32 {
2495                  range "1..4294967295" {2525                  range "1..4294967295" {
2496                    description2526                    description
2497                      "Maximum number of prefixes redistributed into OSPF";2527                      "Maximum number of prefixes redistributed into OSPF";
2498                  }2528                  }
2499                }2529                }
2500                mandatory true;2530                mandatory true;
2501                description2531                description
2502                  "Limit number of redistributed prefixes";2532                  "Limit number of redistributed prefixes";
2503              }2533              }
2504              leaf threshold {2534              leaf threshold {
2505                type uint32 {2535                type uint32 {
2506                  range "1..100";2536                  range "1..100";
2507                }2537                }
2508                description2538                description
2509                  "Threshold value (%) at which to generate a warning msg";2539                  "Threshold value (%) at which to generate a warning msg";
2510              }2540              }
2511              container warning-only {2541              container warning-only {
2512                presence "Indicates a warning-only node is configured.";2542                presence "Indicates a warning-only node is configured.";
2513                description2543                description
2514                  "Only give warning messsage when limit is exceeded";2544                  "Only give warning messsage when limit is exceeded";
2515              }2545              }
2516            }2546            }
2517          }2547          }
2518          container queue {2548          container queue {
2519            description2549            description
2520              "Adjust OSPF input queue";2550              "Adjust OSPF input queue";
2521            container limit {2551            container limit {
2522              description2552              description
2523                "High watermark for incoming priority events";2553                "High watermark for incoming priority events";
2524              leaf high {2554              leaf high {
2525                type uint32 {2555                type uint32 {
2526                  range "1000..30000" {2556                  range "1000..30000" {
2527                    description2557                    description
2528                      "Hello events are dropped when incoming event queue exceeds this value";2558                      "Hello events are dropped when incoming event queue exceeds this value";
2529                  }2559                  }
2530                }2560                }
2531                description2561                description
2532                  "High watermark for incoming high priority events (hello)";2562                  "High watermark for incoming high priority events (hello)";
2533              }2563              }
2534              leaf medium {2564              leaf medium {
2535                type uint32 {2565                type uint32 {
2536                  range "1000..30000" {2566                  range "1000..30000" {
2537                    description2567                    description
2538                      "LSA ACKs are dropped when incoming event queue exceeds this value";2568                      "LSA ACKs are dropped when incoming event queue exceeds this value";
2539                  }2569                  }
2540                }2570                }
2541                description2571                description
2542                  "High watermark for incoming medium priority events (LSA ACK)";2572                  "High watermark for incoming medium priority events (LSA ACK)";
2543              }2573              }
2544              leaf low {2574              leaf low {
2545                type uint32 {2575                type uint32 {
2546                  range "1000..30000" {2576                  range "1000..30000" {
2547                    description2577                    description
2548                      "DBD/LS Update/Req packets are dropped when incoming event queue exceeds this value";2578                      "DBD/LS Update/Req packets are dropped when incoming event queue exceeds this value";
2549                  }2579                  }
2550                }2580                }
2551                description2581                description
2552                  "High watermark for incoming low priority events (DBD/LSUpd/Req)";2582                  "High watermark for incoming low priority events (DBD/LSUpd/Req)";
2553              }2583              }
2554            }2584            }
2555            container dispatch {2585            container dispatch {
2556              description2586              description
2557                "Number of continuous events processed by type";2587                "Number of continuous events processed by type";
2558              leaf incoming {2588              leaf incoming {
2559                type uint32 {2589                type uint32 {
2560                  range "30..3000" {2590                  range "30..3000" {
2561                    description2591                    description
2562                      "Maximum number of continuous events processed";2592                      "Maximum number of continuous events processed";
2563                  }2593                  }
2564                }2594                }
2565                description2595                description
2566                  "Number of continuous incoming events processed";2596                  "Number of continuous incoming events processed";
2567              }2597              }
2568              leaf rate-limited-lsa {2598              leaf rate-limited-lsa {
2569                type uint32 {2599                type uint32 {
2570                  range "30..3000" {2600                  range "30..3000" {
2571                    description2601                    description
2572                      "Maximum number of rate-limited LSAs processed per run";2602                      "Maximum number of rate-limited LSAs processed per run";
2573                  }2603                  }
2574                }2604                }
2575                description2605                description
2576                  "Number of rate-limited LSAs processed";2606                  "Number of rate-limited LSAs processed";
2577              }2607              }
2578              leaf flush-lsa {2608              leaf flush-lsa {
2579                type uint32 {2609                type uint32 {
2580                  range "30..3000" {2610                  range "30..3000" {
2581                    description2611                    description
2582                      "Maximum number of LSAs flushed per run";2612                      "Maximum number of LSAs flushed per run";
2583                  }2613                  }
2584                }2614                }
2585                description2615                description
2586                  "Number of LSAs flushed";2616                  "Number of LSAs flushed";
2587              }2617              }
2588              leaf spf-lsa-limit {2618              leaf spf-lsa-limit {
2589                type uint32 {2619                type uint32 {
2590                  range "30..3000" {2620                  range "30..3000" {
2591                    description2621                    description
2592                      "Maximum number of Type 3-7 LSAs processed per SPF run";2622                      "Maximum number of Type 3-7 LSAs processed per SPF run";
2593                  }2623                  }
2594                }2624                }
2595                description2625                description
2596                  "Number of summary or external LSAs processed per run";2626                  "Number of summary or external LSAs processed per run";
2597              }2627              }
2598            }2628            }
2599          }2629          }
2600          container summary-prefixes {2630          container summary-prefixes {
2601            description2631            description
2602              "Configure IP address summaries";2632              "Configure IP address summaries";
2603            list summary-prefix {2633            list summary-prefix {
2604              key "address mask";2634              key "address mask";
2605              description2635              description
2606                "Configure IP address summaries";2636                "Configure IP address summaries";
2607              leaf address {2637              leaf address {
2608                type inet:ipv4-address-no-zone;2638                type inet:ipv4-address-no-zone;
2609                description2639                description
2610                  "IP summary prefix address";2640                  "IP summary prefix address";
2611              }2641              }
2612              leaf mask {2642              leaf mask {
2613                type inet:ipv4-address-no-zone;2643                type inet:ipv4-address-no-zone;
2614                description2644                description
2615                  "IP smmary address mask";2645                  "IP smmary address mask";
2616              }2646              }
2617              container not-advertise {2647              container not-advertise {
2618                presence "Indicates a not-advertise node is configured.";2648                presence "Indicates a not-advertise node is configured.";
2619                description2649                description
2620                  "Suppress routes that match the specified prefix/mask pair";2650                  "Suppress routes that match the specified prefix/mask pair";
2621              }2651              }
2622              leaf tag {2652              leaf tag {
2623                type uint32 {2653                type uint32 {
2624                  range "0..4294967295" {2654                  range "0..4294967295" {
2625                    description2655                    description
2626                      "32-bit tag value";2656                      "32-bit tag value";
2627                  }2657                  }
2628                }2658                }
2629                description2659                description
2630                  "Set tag";2660                  "Set tag";
2631              }2661              }
2632            }2662            }
2633          }2663          }
2634          container spf {2664          container spf {
2635            description2665            description
2636              "SPF configuration";2666              "SPF configuration";
2637            container prefix-priority {2667            container prefix-priority {
2638              description2668              description
2639                "Configure SPF prefix priority route policy";2669                "Configure SPF prefix priority route policy";
2640              leaf route-policy {2670              leaf route-policy {
2641                type xr:Route-policy-name;2671                type xr:Route-policy-name;
2642                description2672                description
2643                  "Specify the route-policy to prioritize route install";2673                  "Specify the route-policy to prioritize route install";
2644              }2674              }
2645            }2675            }
2646          }2676          }
2647          container fast-reroute {2677          container fast-reroute {
2648            description2678            description
2649              "IP Fast Reroute";2679              "IP Fast Reroute";
2650            container per-prefix {2680            container per-prefix {
2651              description2681              description
2652                "Per-prefix Computation";2682                "Per-prefix Computation";
2653              container enable {2683              container enable {
2654                presence "Indicates a enable node is configured.";2684                presence "Indicates a enable node is configured.";
2655                description2685                description
2656                  "Enable per-prefix Computation";2686                  "Enable per-prefix Computation";
2657              }2687              }
2658              container priority-limit {2688              container priority-limit {
2659                description2689                description
2660                  "Limit backup computation upto the prefix priority";2690                  "Limit backup computation upto the prefix priority";
2661                container critical {2691                container critical {
2662                  must "not(../high) and not(../medium)";2692                  must "not(../high) and not(../medium)";
2663                  presence "Indicates a critical node is configured.";2693                  presence "Indicates a critical node is configured.";
2664                  description2694                  description
2665                    "Compute for critical priority prefixes only";2695                    "Compute for critical priority prefixes only";
2666                }2696                }
2667                container high {2697                container high {
2668                  must "not(../critical) and not(../medium)";2698                  must "not(../critical) and not(../medium)";
2669                  presence "Indicates a high node is configured.";2699                  presence "Indicates a high node is configured.";
2670                  description2700                  description
2671                    "Compute for critical & high priority prefixes ";2701                    "Compute for critical & high priority prefixes ";
2672                }2702                }
2673                container medium {2703                container medium {
2674                  must "not(../high) and not(../critical)";2704                  must "not(../high) and not(../critical)";
2675                  presence "Indicates a medium node is configured.";2705                  presence "Indicates a medium node is configured.";
2676                  description2706                  description
2677                    "Compute for critical, high & medium priority prefixes ";2707                    "Compute for critical, high & medium priority prefixes ";
2678                }2708                }
2679              }2709              }
2680              container tiebreaker {2710              container tiebreaker {
2681                description2711                description
2682                  "Configure tiebreaker for multiple backups";2712                  "Configure tiebreaker for multiple backups";
2683                container downstream {2713                container downstream {
2684                  description2714                  description
2685                    "Prefer backup path via downstream node";2715                    "Prefer backup path via downstream node";
2686                  leaf index {2716                  leaf index {
2687                    type uint32 {2717                    type uint32 {
2688                      range "1..255" {2718                      range "1..255" {
2689                        description2719                        description
2690                          "Index";2720                          "Index";
2691                      }2721                      }
2692                    }2722                    }
2693                    must "not(../disable)";2723                    must "not(../disable)";
2694                    description2724                    description
2695                      "Set preference order among tiebreakers";2725                      "Set preference order among tiebreakers";
2696                  }2726                  }
2697                  container disable {2727                  container disable {
2698                    must "not(../index)";2728                    must "not(../index)";
2699                    presence "Indicates a disable node is configured.";2729                    presence "Indicates a disable node is configured.";
2700                    description2730                    description
2701                      "Disable tiebreaker";2731                      "Disable tiebreaker";
2702                  }2732                  }
2703                }2733                }
2704                container lc-disjoint {2734                container lc-disjoint {
2705                  description2735                  description
2706                    "Prefer line card disjoint backup path";2736                    "Prefer line card disjoint backup path";
2707                  leaf index {2737                  leaf index {
2708                    type uint32 {2738                    type uint32 {
2709                      range "1..255" {2739                      range "1..255" {
2710                        description2740                        description
2711                          "Index";2741                          "Index";
2712                      }2742                      }
2713                    }2743                    }
2714                    must "not(../disable)";2744                    must "not(../disable)";
2715                    description2745                    description
2716                      "Set preference order among tiebreakers";2746                      "Set preference order among tiebreakers";
2717                  }2747                  }
2718                  container disable {2748                  container disable {
2719                    must "not(../index)";2749                    must "not(../index)";
2720                    presence "Indicates a disable node is configured.";2750                    presence "Indicates a disable node is configured.";
2721                    description2751                    description
2722                      "Disable tiebreaker";2752                      "Disable tiebreaker";
2723                  }2753                  }
2724                }2754                }
2725                container lowest-backup-metric {2755                container lowest-backup-metric {
2726                  description2756                  description
2727                    "Prefer backup path with lowest total metric";2757                    "Prefer backup path with lowest total metric";
2728                  leaf index {2758                  leaf index {
2729                    type uint32 {2759                    type uint32 {
2730                      range "1..255" {2760                      range "1..255" {
2731                        description2761                        description
2732                          "Index";2762                          "Index";
2733                      }2763                      }
2734                    }2764                    }
2735                    must "not(../disable)";2765                    must "not(../disable)";
2736                    description2766                    description
2737                      "Set preference order among tiebreakers";2767                      "Set preference order among tiebreakers";
2738                  }2768                  }
2739                  container disable {2769                  container disable {
2740                    must "not(../index)";2770                    must "not(../index)";
2741                    presence "Indicates a disable node is configured.";2771                    presence "Indicates a disable node is configured.";
2742                    description2772                    description
2743                      "Disable tiebreaker";2773                      "Disable tiebreaker";
2744                  }2774                  }
2745                }2775                }
2746                container node-protecting {2776                container node-protecting {
2747                  description2777                  description
2748                    "Prefer node protecting backup path";2778                    "Prefer node protecting backup path";
2749                  leaf index {2779                  leaf index {
2750                    type uint32 {2780                    type uint32 {
2751                      range "1..255" {2781                      range "1..255" {
2752                        description2782                        description
2753                          "Index";2783                          "Index";
2754                      }2784                      }
2755                    }2785                    }
2756                    must "not(../disable)";2786                    must "not(../disable)";
2757                    description2787                    description
2758                      "Set preference order among tiebreakers";2788                      "Set preference order among tiebreakers";
2759                  }2789                  }
2760                  container disable {2790                  container disable {
2761                    must "not(../index)";2791                    must "not(../index)";
2762                    presence "Indicates a disable node is configured.";2792                    presence "Indicates a disable node is configured.";
2763                    description2793                    description
2764                      "Disable tiebreaker";2794                      "Disable tiebreaker";
2765                  }2795                  }
2766                }2796                }
2767                container primary-path {2797                container primary-path {
2768                  description2798                  description
2769                    "Prefer backup path from ECMP set";2799                    "Prefer backup path from ECMP set";
2770                  leaf index {2800                  leaf index {
2771                    type uint32 {2801                    type uint32 {
2772                      range "1..255" {2802                      range "1..255" {
2773                        description2803                        description
2774                          "Index";2804                          "Index";
2775                      }2805                      }
2776                    }2806                    }
2777                    must "not(../disable)";2807                    must "not(../disable)";
2778                    description2808                    description
2779                      "Set preference order among tiebreakers";2809                      "Set preference order among tiebreakers";
2780                  }2810                  }
2781                  container disable {2811                  container disable {
2782                    must "not(../index)";2812                    must "not(../index)";
2783                    presence "Indicates a disable node is configured.";2813                    presence "Indicates a disable node is configured.";
2784                    description2814                    description
2785                      "Disable tiebreaker";2815                      "Disable tiebreaker";
2786                  }2816                  }
2787                }2817                }
2788                container secondary-path {2818                container secondary-path {
2789                  description2819                  description
2790                    "Prefer non-ECMP backup path";2820                    "Prefer non-ECMP backup path";
2791                  leaf index {2821                  leaf index {
2792                    type uint32 {2822                    type uint32 {
2793                      range "1..255" {2823                      range "1..255" {
2794                        description2824                        description
2795                          "Index";2825                          "Index";
2796                      }2826                      }
2797                    }2827                    }
2798                    must "not(../disable)";2828                    must "not(../disable)";
2799                    description2829                    description
2800                      "Set preference order among tiebreakers";2830                      "Set preference order among tiebreakers";
2801                  }2831                  }
2802                  container disable {2832                  container disable {
2803                    must "not(../index)";2833                    must "not(../index)";
2804                    presence "Indicates a disable node is configured.";2834                    presence "Indicates a disable node is configured.";
2805                    description2835                    description
2806                      "Disable tiebreaker";2836                      "Disable tiebreaker";
2807                  }2837                  }
2808                }2838                }
2809                container interface-disjoint {2839                container interface-disjoint {
2810                  description2840                  description
2811                    "Prefer Interface disjoint backup path";2841                    "Prefer Interface disjoint backup path";
2812                  leaf index {2842                  leaf index {
2813                    type uint32 {2843                    type uint32 {
2814                      range "1..255" {2844                      range "1..255" {
2815                        description2845                        description
2816                          "Index";2846                          "Index";
2817                      }2847                      }
2818                    }2848                    }
2819                    must "not(../disable)";2849                    must "not(../disable)";
2820                    description2850                    description
2821                      "Set preference order among tiebreakers";2851                      "Set preference order among tiebreakers";
2822                  }2852                  }
2823                  container disable {2853                  container disable {
2824                    must "not(../index)";2854                    must "not(../index)";
2825                    presence "Indicates a disable node is configured.";2855                    presence "Indicates a disable node is configured.";
2826                    description2856                    description
2827                      "Disable tiebreaker";2857                      "Disable tiebreaker";
2828                  }2858                  }
2829                }2859                }
2830                container srlg-disjoint {2860                container srlg-disjoint {
2831                  description2861                  description
2832                    "Prefer SRLG disjoint backup path";2862                    "Prefer SRLG disjoint backup path";
2833                  leaf index {2863                  leaf index {
2834                    type uint32 {2864                    type uint32 {
2835                      range "1..255" {2865                      range "1..255" {
2836                        description2866                        description
2837                          "Index";2867                          "Index";
2838                      }2868                      }
2839                    }2869                    }
2840                    must "not(../disable)";2870                    must "not(../disable)";
2841                    description2871                    description
2842                      "Set preference order among tiebreakers";2872                      "Set preference order among tiebreakers";
2843                  }2873                  }
2844                  container disable {2874                  container disable {
2845                    must "not(../index)";2875                    must "not(../index)";
2846                    presence "Indicates a disable node is configured.";2876                    presence "Indicates a disable node is configured.";
2847                    description2877                    description
2848                      "Disable tiebreaker";2878                      "Disable tiebreaker";
2849                  }2879                  }
2850                }2880                }
2851              }2881              }
2852              container load-sharing {2882              container load-sharing {
2853                description2883                description
2854                  "Load share prefixes across multiple backups";2884                  "Load share prefixes across multiple backups";
2855                container disable {2885                container disable {
2856                  presence "Indicates a disable node is configured.";2886                  presence "Indicates a disable node is configured.";
2857                  description2887                  description
2858                    "Disable load sharing";2888                    "Disable load sharing";
2859                }2889                }
2860              }2890              }
2861              container srlg-protection {2891              container srlg-protection {
2862                description2892                description
2863                  "select SRLG protection mode (default: local)";2893                  "select SRLG protection mode (default: local)";
2864                container weighted-global {2894                container weighted-global {
2865                  presence "Indicates a weighted-global node is configured.";2895                  presence "Indicates a weighted-global node is configured.";
2866                  description2896                  description
2867                    "weighted global srlg protection";2897                    "weighted global srlg protection";
2868                }2898                }
2869              }2899              }
2870              container exclude {2900              container exclude {
2871                description2901                description
2872                  "Per-prefix LFA exclusion information";2902                  "Per-prefix LFA exclusion information";
2873                container interfaces {2903                container interfaces {
2874                  description2904                  description
2875                    "Exclude an interface from Per-prefix LFA";2905                    "Exclude an interface from Per-prefix LFA";
2876                  list interface {2906                  list interface {
2877                    key "interface-name";2907                    key "interface-name";
2878                    description2908                    description
2879                      "Exclude an interface from Per-prefix LFA";2909                      "Exclude an interface from Per-prefix LFA";
2880                    leaf interface-name {2910                    leaf interface-name {
2881                      type xr:Interface-name;2911                      type xr:Interface-name;
2882                      description2912                      description
2883                        "Exclude an interface from Per-prefix LFA";2913                        "Exclude an interface from Per-prefix LFA";
2884                    }2914                    }
2885                  }2915                  }
2886                }2916                }
2887              }2917              }
2888              container lfa-candidate {2918              container lfa-candidate {
2889                description2919                description
2890                  "FRR LFA candidate information";2920                  "FRR LFA candidate information";
2891                container interfaces {2921                container interfaces {
2892                  description2922                  description
2893                    "Include an interface to LFA candidate in computation";2923                    "Include an interface to LFA candidate in computation";
2894                  list interface {2924                  list interface {
2895                    key "interface-name";2925                    key "interface-name";
2896                    description2926                    description
2897                      "Include an interface to LFA candidate in computation";2927                      "Include an interface to LFA candidate in computation";
2898                    leaf interface-name {2928                    leaf interface-name {
2899                      type xr:Interface-name;2929                      type xr:Interface-name;
2900                      description2930                      description
2901                        "Include an interface to LFA candidate in computation";2931                        "Include an interface to LFA candidate in computation";
2902                    }2932                    }
2903                  }2933                  }
2904                }2934                }
2905              }2935              }
2906              container use-candidate-only {2936              container use-candidate-only {
2907                description2937                description
2908                  "Enable/Disable backup selection from candidate-list only";2938                  "Enable/Disable backup selection from candidate-list only";
2909                container enable {2939                container enable {
2910                  must "not(../disable)";2940                  must "not(../disable)";
2911                  presence "Indicates a enable node is configured.";2941                  presence "Indicates a enable node is configured.";
2912                  description2942                  description
2913                    "Enable backup selection from candidate-list only";2943                    "Enable backup selection from candidate-list only";
2914                }2944                }
2915                container disable {2945                container disable {
2916                  must "not(../enable)";2946                  must "not(../enable)";
2917                  presence "Indicates a disable node is configured.";2947                  presence "Indicates a disable node is configured.";
2918                  description2948                  description
2919                    "Disable backup selection from candidate-list only";2949                    "Disable backup selection from candidate-list only";
2920                }2950                }
2921              }2951              }
2922              container remote-lfa {2952              container remote-lfa {
2923                description2953                description
2924                  "Remote LFA computation";2954                  "Remote LFA computation";
2925                container tunnel {2955                container tunnel {
2926                  description2956                  description
2927                    "Enable remote LFA computation using tunnels";2957                    "Enable remote LFA computation using tunnels";
2928                  container mpls-ldp {2958                  container mpls-ldp {
2929                    must "not(../../disable)";2959                    must "not(../../disable)";
2930                    presence "Indicates a mpls-ldp node is configured.";2960                    presence "Indicates a mpls-ldp node is configured.";
2931                    description2961                    description
2932                      "MPLS LDP tunnel";2962                      "MPLS LDP tunnel";
2933                  }2963                  }
2934                }2964                }
2935                container disable {2965                container disable {
2936                  must "not(../tunnel/mpls-ldp)";2966                  must "not(../tunnel/mpls-ldp)";
2937                  presence "Indicates a disable node is configured.";2967                  presence "Indicates a disable node is configured.";
2938                  description2968                  description
2939                    "Disable remote LFA computation";2969                    "Disable remote LFA computation";
2940                }2970                }
2941                leaf maximum-cost {2971                leaf maximum-cost {
2942                  type uint32 {2972                  type uint32 {
2943                    range "1..4294967295" {2973                    range "1..4294967295" {
2944                      description2974                      description
2945                        "Path cost";2975                        "Path cost";
2946                    }2976                    }
2947                  }2977                  }
2948                  description2978                  description
2949                    "Maximum path cost to remote LFA";2979                    "Maximum path cost to remote LFA";
2950                }2980                }
2951              }2981              }
2952              container ti-lfa {2982              container ti-lfa {
2953                description2983                description
2954                  "Topology Independent LFA computation";2984                  "Topology Independent LFA computation";
2955                container enable {2985                container enable {
2956                  must "not(../disable)";2986                  must "not(../disable)";
2957                  presence "Indicates a enable node is configured.";2987                  presence "Indicates a enable node is configured.";
2958                  description2988                  description
2959                    "Enable TI LFA computation";2989                    "Enable TI LFA computation";
2960                }2990                }
2961                container disable {2991                container disable {
2962                  must "not(../enable)";2992                  must "not(../enable)";
2963                  presence "Indicates a disable node is configured.";2993                  presence "Indicates a disable node is configured.";
2964                  description2994                  description
2965                    "Disable TI LFA computation";2995                    "Disable TI LFA computation";
2966                }2996                }
2967              }2997              }
2968            }2998            }
2969            container per-link {2999            container per-link {
2970              description3000              description
2971                "Per-link Computation";3001                "Per-link Computation";
2972              container enable {3002              container enable {
2973                presence "Indicates a enable node is configured.";3003                presence "Indicates a enable node is configured.";
2974                description3004                description
2975                  "Enable per-link Computation";3005                  "Enable per-link Computation";
2976              }3006              }
2977              container priority-limit {3007              container priority-limit {
2978                description3008                description
2979                  "Limit backup computation upto the prefix priority";3009                  "Limit backup computation upto the prefix priority";
2980                container critical {3010                container critical {
2981                  must "not(../high) and not(../medium)";3011                  must "not(../high) and not(../medium)";
2982                  presence "Indicates a critical node is configured.";3012                  presence "Indicates a critical node is configured.";
2983                  description3013                  description
2984                    "Compute for critical priority prefixes only";3014                    "Compute for critical priority prefixes only";
2985                }3015                }
2986                container high {3016                container high {
2987                  must "not(../critical) and not(../medium)";3017                  must "not(../critical) and not(../medium)";
2988                  presence "Indicates a high node is configured.";3018                  presence "Indicates a high node is configured.";
2989                  description3019                  description
2990                    "Compute for critical & high priority prefixes ";3020                    "Compute for critical & high priority prefixes ";
2991                }3021                }
2992                container medium {3022                container medium {
2993                  must "not(../high) and not(../critical)";3023                  must "not(../high) and not(../critical)";
2994                  presence "Indicates a medium node is configured.";3024                  presence "Indicates a medium node is configured.";
2995                  description3025                  description
2996                    "Compute for critical, high & medium priority prefixes ";3026                    "Compute for critical, high & medium priority prefixes ";
2997                }3027                }
2998              }3028              }
2999              container exclude {3029              container exclude {
3000                description3030                description
3001                  "Per-link LFA exclusion information";3031                  "Per-link LFA exclusion information";
3002                container interfaces {3032                container interfaces {
3003                  description3033                  description
3004                    "Exclude an interface from Per-link LFA";3034                    "Exclude an interface from Per-link LFA";
3005                  list interface {3035                  list interface {
3006                    key "interface-name";3036                    key "interface-name";
3007                    description3037                    description
3008                      "Exclude an interface from Per-link LFA";3038                      "Exclude an interface from Per-link LFA";
3009                    leaf interface-name {3039                    leaf interface-name {
3010                      type xr:Interface-name;3040                      type xr:Interface-name;
3011                      description3041                      description
3012                        "Exclude an interface from Per-link LFA";3042                        "Exclude an interface from Per-link LFA";
3013                    }3043                    }
3014                  }3044                  }
3015                }3045                }
3016              }3046              }
3017              container lfa-candidate {3047              container lfa-candidate {
3018                description3048                description
3019                  "FRR LFA candidate information";3049                  "FRR LFA candidate information";
3020                container interfaces {3050                container interfaces {
3021                  description3051                  description
3022                    "Include an interface to LFA candidate in computation";3052                    "Include an interface to LFA candidate in computation";
3023                  list interface {3053                  list interface {
3024                    key "interface-name";3054                    key "interface-name";
3025                    description3055                    description
3026                      "Include an interface to LFA candidate in computation";3056                      "Include an interface to LFA candidate in computation";
3027                    leaf interface-name {3057                    leaf interface-name {
3028                      type xr:Interface-name;3058                      type xr:Interface-name;
3029                      description3059                      description
3030                        "Include an interface to LFA candidate in computation";3060                        "Include an interface to LFA candidate in computation";
3031                    }3061                    }
3032                  }3062                  }
3033                }3063                }
3034              }3064              }
3035              container use-candidate-only {3065              container use-candidate-only {
3036                description3066                description
3037                  "Enable/Disable backup selection from candidate-list only";3067                  "Enable/Disable backup selection from candidate-list only";
3038                container enable {3068                container enable {
3039                  must "not(../disable)";3069                  must "not(../disable)";
3040                  presence "Indicates a enable node is configured.";3070                  presence "Indicates a enable node is configured.";
3041                  description3071                  description
3042                    "Enable backup selection from candidate-list only";3072                    "Enable backup selection from candidate-list only";
3043                }3073                }
3044                container disable {3074                container disable {
3045                  must "not(../enable)";3075                  must "not(../enable)";
3046                  presence "Indicates a disable node is configured.";3076                  presence "Indicates a disable node is configured.";
3047                  description3077                  description
3048                    "Disable backup selection from candidate-list only";3078                    "Disable backup selection from candidate-list only";
3049                }3079                }
3050              }3080              }
3051            }3081            }
3052            container disable {3082            container disable {
3053              presence "Indicates a disable node is configured.";3083              presence "Indicates a disable node is configured.";
3054              description3084              description
3055                "Disable IP Fast Reroute";3085                "Disable IP Fast Reroute";
3056            }3086            }
3057          }3087          }
3058          container loopback {3088          container loopback {
3059            description3089            description
3060              "OSPF loopback configuration";3090              "OSPF loopback configuration";
3061            container stub-network {3091            container stub-network {
3062              description3092              description
3063                "Advertise loopback as a stub network";3093                "Advertise loopback as a stub network";
3064              container enable {3094              container enable {
3065                must "not(../disable)";3095                must "not(../disable)";
3066                presence "Indicates a enable node is configured.";3096                presence "Indicates a enable node is configured.";
3067                description3097                description
3068                  "Enable advertising loopback as a stub network";3098                  "Enable advertising loopback as a stub network";
3069              }3099              }
3070              container disable {3100              container disable {
3071                must "not(../enable)";3101                must "not(../enable)";
3072                presence "Indicates a disable node is configured.";3102                presence "Indicates a disable node is configured.";
3073                description3103                description
3074                  "Disable advertising loopback as a stub network";3104                  "Disable advertising loopback as a stub network";
3075              }3105              }
3076            }3106            }
3077          }3107          }
3078          container link-down {3108          container link-down {
3079            description3109            description
3080              "Configure interface down parameters";3110              "Configure interface down parameters";
3081            container fast-detect {3111            container fast-detect {
3082              presence "Indicates a fast-detect node is configured.";3112              presence "Indicates a fast-detect node is configured.";
3083              description3113              description
3084                "Enable fast or early detection of link-down events";3114                "Enable fast or early detection of link-down events";
3085            }3115            }
3086          }3116          }
3087          leaf weight {3117          leaf weight {
3088            type uint32 {3118            type uint32 {
3089              range "1..16777214" {3119              range "1..16777214" {
3090                description3120                description
3091                  "Weight value";3121                  "Weight value";
3092              }3122              }
3093            }3123            }
3094            description3124            description
3095              "Interface weight";3125              "Interface weight";
3096          }3126          }
3097          container delay {3127          container delay {
3098            description3128            description
3099              "Delay configuration setting";3129              "Delay configuration setting";
3100            container normalize {3130            container normalize {
3101              description3131              description
3102                "Delay normalization setting";3132                "Delay normalization setting";
3103              leaf interval {3133              leaf interval {
3104                type uint32 {3134                type uint32 {
3105                  range "1..16777215" {3135                  range "1..16777215" {
3106                    description3136                    description
3107                      "Value in microseconds";3137                      "Value in microseconds";
3108                  }3138                  }
3109                }3139                }
3110                must "../offset";3140                must "../offset";
3111                description3141                description
3112                  "Normalization interval";3142                  "Normalization interval";
3113              }3143              }
3114              leaf offset {3144              leaf offset {
3115                type uint32 {3145                type uint32 {
3116                  range "0..16777215" {3146                  range "0..16777215" {
3117                    description3147                    description
3118                      "Value in microseconds";3148                      "Value in microseconds";
3119                  }3149                  }
3120                }3150                }
3121                must "../interval";3151                must "../interval";
3122                description3152                description
3123                  "Normalization offset";3153                  "Normalization offset";
3124              }3154              }
3125            }3155            }
3126          }3156          }
3127          container microloop {3157          container microloop {
3128            description3158            description
3129              "Microloop configuration";3159              "Microloop configuration";
3130            container avoidance {3160            container avoidance {
3131              must "not(protected and segment-routing)";3161              must "not(protected and segment-routing)";
3132              presence "Indicates a avoidance node is configured.";3162              presence "Indicates a avoidance node is configured.";
3133              description3163              description
3134                "Avoid microloops";3164                "Avoid microloops";
3135              container protected {3165              container protected {
3136                presence "Indicates a protected node is configured.";3166                presence "Indicates a protected node is configured.";
3137                description3167                description
3138                  "Avoid microloops for protected prefixes only";3168                  "Avoid microloops for protected prefixes only";
3139              }3169              }
3140              container segment-routing {3170              container segment-routing {
3141                presence "Indicates a segment-routing node is configured.";3171                presence "Indicates a segment-routing node is configured.";
3142                description3172                description
3143                  "Enable segment routing microloop avoidance";3173                  "Enable segment routing microloop avoidance";
3144              }3174              }
3145            }3175            }
3146            leaf avoidance-rib-update-delay {3176            leaf avoidance-rib-update-delay {
3147              type uint32 {3177              type uint32 {
3148                range "1..600000" {3178                range "1..600000" {
3149                  description3179                  description
3150                    "Delay in milliseconds";3180                    "Delay in milliseconds";
3151                }3181                }
3152              }3182              }
3153              description3183              description
3154                "Delay to introduce between SPF and RIB update";3184                "Delay to introduce between SPF and RIB update";
3155            }3185            }
3156          }3186          }
3157          container areas {3187          container areas {
3158            description3188            description
3159              "Enter the OSPF area configuration submode";3189              "Enter the OSPF area configuration submode";
3160            list area {3190            list area {
3161              key "area-id";3191              key "area-id";
3162              description3192              description
3163                "Enter the OSPF area configuration submode";3193                "Enter the OSPF area configuration submode";
3164              leaf area-id {3194              leaf area-id {
3165                type xr:Ospf-area-id;3195                type xr:Ospf-area-id;
3166                description3196                description
3167                  "Enter the OSPF area configuration submode";3197                  "Enter the OSPF area configuration submode";
3168              }3198              }
3169              container ranges {3199              container ranges {
3170                description3200                description
3171                  "Summarize routes matching address/mask (border routers only)";3201                  "Summarize routes matching address/mask (border routers only)";
3172                list range {3202                list range {
3173                  key "address mask";3203                  key "address mask";
3174                  description3204                  description
3175                    "Summarize routes matching address/mask (border routers only)";3205                    "Summarize routes matching address/mask (border routers only)";
3176                  leaf address {3206                  leaf address {
3177                    type inet:ipv4-address-no-zone;3207                    type inet:ipv4-address-no-zone;
3178                    must "(../advertise and not(../not-advertise)) or (../not-advertise and not(../advertise))";3208                    must "(../advertise and not(../not-advertise)) or (../not-advertise and not(../advertise))";
3179                    description3209                    description
3180                      "IP address";3210                      "IP address";
3181                  }3211                  }
3182                  leaf mask {3212                  leaf mask {
3183                    type inet:ipv4-address-no-zone;3213                    type inet:ipv4-address-no-zone;
3184                    description3214                    description
3185                      "IP address mask";3215                      "IP address mask";
3186                  }3216                  }
3187                  container advertise {3217                  container advertise {
3188                    presence "Indicates a advertise node is configured.";3218                    presence "Indicates a advertise node is configured.";
3189                    description3219                    description
3190                      "Advertise this range (default)";3220                      "Advertise this range (default)";
3191                  }3221                  }
3192                  container not-advertise {3222                  container not-advertise {
3193                    presence "Indicates a not-advertise node is configured.";3223                    presence "Indicates a not-advertise node is configured.";
3194                    description3224                    description
3195                      "DoNotAdvertise this range";3225                      "DoNotAdvertise this range";
3196                  }3226                  }
3197                }3227                }
3198              }3228              }
3199              leaf default-cost {3229              leaf default-cost {
3200                type uint32 {3230                type uint32 {
3201                  range "1..16777215" {3231                  range "1..16777215" {
3202                    description3232                    description
3203                      "Stub's advertised external route metric";3233                      "Stub's advertised external route metric";
3204                  }3234                  }
3205                }3235                }
3206                description3236                description
3207                  "Set the summary default-cost of a NSSA/stub area";3237                  "Set the summary default-cost of a NSSA/stub area";
3208              }3238              }
3209              container stub {3239              container stub {
3210                presence "Indicates a stub node is configured.";3240                presence "Indicates a stub node is configured.";
3211                description3241                description
3212                  "Specify the area as a stub area";3242                  "Specify the area as a stub area";
3213                container no-summary {3243                container no-summary {
3214                  presence "Indicates a no-summary node is configured.";3244                  presence "Indicates a no-summary node is configured.";
3215                  description3245                  description
3216                    "Do not send summary LSA into stub area";3246                    "Do not send summary LSA into stub area";
3217                }3247                }
3218              }3248              }
3219              container nssa {3249              container nssa {
3220                presence "Indicates a nssa node is configured.";3250                presence "Indicates a nssa node is configured.";
3221                description3251                description
3222                  "Specify area as a NSSA area";3252                  "Specify area as a NSSA area";
3223                container no-redistribution {3253                container no-redistribution {
3224                  presence "Indicates a no-redistribution node is configured.";3254                  presence "Indicates a no-redistribution node is configured.";
3225                  description3255                  description
3226                    "No redistribution into this NSSA area";3256                    "No redistribution into this NSSA area";
3227                }3257                }
3228                container default-information-originate {3258                container default-information-originate {
3229                  presence "Indicates a default-information-originate node is configured.";3259                  presence "Indicates a default-information-originate node is configured.";
3230                  description3260                  description
3231                    "Originate Type 7 default into NSSA area";3261                    "Originate Type 7 default into NSSA area";
3232                  leaf metric {3262                  leaf metric {
3233                    type uint32 {3263                    type uint32 {
3234                      range "1..16777214" {3264                      range "1..16777214" {
3235                        description3265                        description
3236                          "OSPF metric";3266                          "OSPF metric";
3237                      }3267                      }
3238                    }3268                    }
3239                    description3269                    description
3240                      "OSPF default metric";3270                      "OSPF default metric";
3241                  }3271                  }
3242                  leaf metric-type {3272                  leaf metric-type {
3243                    type uint32 {3273                    type uint32 {
3244                      range "1..2" {3274                      range "1..2" {
3245                        description3275                        description
3246                          "Link State metric type";3276                          "Link State metric type";
3247                      }3277                      }
3248                    }3278                    }
3249                    description3279                    description
3250                      "OSPF metric type for default routes";3280                      "OSPF metric type for default routes";
3251                  }3281                  }
3252                }3282                }
3253                container no-summary {3283                container no-summary {
3254                  presence "Indicates a no-summary node is configured.";3284                  presence "Indicates a no-summary node is configured.";
3255                  description3285                  description
3256                    "Do not send summary LSA into NSSA";3286                    "Do not send summary LSA into NSSA";
3257                }3287                }
3258              }3288              }
3259              container nssa-translate {3289              container nssa-translate {
3260                description3290                description
3261                  "Translate NSSA LSA";3291                  "Translate NSSA LSA";
3262                container type7 {3292                container type7 {
3263                  description3293                  description
3264                    "Translate type 7 to type 5";3294                    "Translate type 7 to type 5";
3265                  container always {3295                  container always {
3266                    presence "Indicates a always node is configured.";3296                    presence "Indicates a always node is configured.";
3267                    description3297                    description
3268                      "Always translate NSSA LSAs on this ABR";3298                      "Always translate NSSA LSAs on this ABR";
3269                  }3299                  }
3270                }3300                }
3271              }3301              }
3272              container multi-area-interfaces {3302              container multi-area-interfaces {
3273                description3303                description
3274                  "Enable multi-area adjacency on this interface";3304                  "Enable multi-area adjacency on this interface";
3275                list multi-area-interface {3305                list multi-area-interface {
3276                  key "multi-area-interface-name";3306                  key "multi-area-interface-name";
3277                  description3307                  description
3278                    "Enable multi-area adjacency on this interface";3308                    "Enable multi-area adjacency on this interface";
3279                  leaf multi-area-interface-name {3309                  leaf multi-area-interface-name {
3280                    type xr:Interface-name;3310                    type xr:Interface-name;
3281                    description3311                    description
3282                      "Enable multi-area adjacency on this interface";3312                      "Enable multi-area adjacency on this interface";
3283                  }3313                  }
3284                  container neighbors {3314                  container neighbors {
3285                    description3315                    description
3286                      "Specify a  neighbor router";3316                      "Specify a  neighbor router";
3287                    list neighbor {3317                    list neighbor {
3288                      key "address";3318                      key "address";
3289                      description3319                      description
3290                        "Specify a  neighbor router";3320                        "Specify a  neighbor router";
3291                      leaf address {3321                      leaf address {
3292                        type inet:ipv4-address-no-zone;3322                        type inet:ipv4-address-no-zone;
3293                        description3323                        description
3294                          "Specify a  neighbor router";3324                          "Specify a  neighbor router";
3295                      }3325                      }
3296                      container database-filter {3326                      container database-filter {
3297                        description3327                        description
3298                          "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";3328                          "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";
3299                        container all {3329                        container all {
3300                          description3330                          description
3301                            "Filter all LSA";3331                            "Filter all LSA";
3302                          container out {3332                          container out {
3303                            presence "Indicates a out node is configured.";3333                            presence "Indicates a out node is configured.";
3304                            description3334                            description
3305                              "Outgoing LSA";3335                              "Outgoing LSA";
3306                          }3336                          }
3307                        }3337                        }
3308                      }3338                      }
3309                      leaf poll-interval {3339                      leaf poll-interval {
3310                        type uint32 {3340                        type uint32 {
3311                          range "0..4294967295" {3341                          range "0..4294967295" {
3312                            description3342                            description
3313                              "Seconds";3343                              "Seconds";
3314                          }3344                          }
3315                        }3345                        }
3316                        description3346                        description
3317                          "OSPF dead-router polling interval";3347                          "OSPF dead-router polling interval";
3318                      }3348                      }
3319                      leaf cost {3349                      leaf cost {
3320                        type uint32 {3350                        type uint32 {
3321                          range "1..65535" {3351                          range "1..65535" {
3322                            description3352                            description
3323                              "Metric";3353                              "Metric";
3324                          }3354                          }
3325                        }3355                        }
3326                        description3356                        description
3327                          "OSPF cost for point-to-multipoint neighbor";3357                          "OSPF cost for point-to-multipoint neighbor";
3328                      }3358                      }
3329                    }3359                    }
3330                  }3360                  }
3331                  container authentication-key {3361                  container authentication-key {
3332                    description3362                    description
3333                      "Authentication password (key)";3363                      "Authentication password (key)";
3334                    leaf encrypted {3364                    leaf encrypted {
3335                      type xr:Proprietary-password;3365                      type xr:Proprietary-password;
3336                      description3366                      description
3337                        "Specifies an ENCRYPTED password (key) will follow";3367                        "Specifies an ENCRYPTED password (key) will follow";
3338                    }3368                    }
3339                  }3369                  }
3340                  container message-digest-keys {3370                  container message-digest-keys {
3341                    description3371                    description
3342                      "Message digest authentication password (key)";3372                      "Message digest authentication password (key)";
3343                    list message-digest-key {3373                    list message-digest-key {
3344                      key "message-digest-key-id";3374                      key "message-digest-key-id";
3345                      description3375                      description
3346                        "Message digest authentication password (key)";3376                        "Message digest authentication password (key)";
3347                      leaf message-digest-key-id {3377                      leaf message-digest-key-id {
3348                        type uint32 {3378                        type uint32 {
3349                          range "1..255" {3379                          range "1..255" {
3350                            description3380                            description
3351                              "Key ID";3381                              "Key ID";
3352                          }3382                          }
3353                        }3383                        }
3354                        description3384                        description
3355                          "Message digest authentication password (key)";3385                          "Message digest authentication password (key)";
3356                      }3386                      }
3357                      container md5 {3387                      container md5 {
3358                        description3388                        description
3359                          "Use MD5 algorithm";3389                          "Use MD5 algorithm";
3360                        leaf encrypted {3390                        leaf encrypted {
3361                          type xr:Proprietary-password;3391                          type xr:Proprietary-password;
3362                          mandatory true;3392                          mandatory true;
3363                          description3393                          description
3364                            "Specifies an ENCRYPTED password (key) will follow";3394                            "Specifies an ENCRYPTED password (key) will follow";
3365                        }3395                        }
3366                      }3396                      }
3367                    }3397                    }
3368                  }3398                  }
3369                  container authentication {3399                  container authentication {
3370                    presence "Indicates a authentication node is configured.";3400                    presence "Indicates a authentication node is configured.";
3371                    description3401                    description
3372                      "Enable authentication";3402                      "Enable authentication";
3373                    container message-digest {3403                    container message-digest {
3374                      must "not(../null or ../keychain)";3404                      must "not(../null or ../keychain)";
3375                      presence "Indicates a message-digest node is configured.";3405                      presence "Indicates a message-digest node is configured.";
3376                      description3406                      description
3377                        "Use message-digest authentication";3407                        "Use message-digest authentication";
3378                    }3408                    }
3379                    container keychain {3409                    container keychain {
3380                      must "../keychain-name";3410                      must "../keychain-name";
3381                      presence "Indicates a keychain node is configured.";3411                      presence "Indicates a keychain node is configured.";
3382                      description3412                      description
3383                        "Use keychain";3413                        "Use keychain";
3384                    }3414                    }
3385                    leaf keychain-name {3415                    leaf keychain-name {
3386                      type string {3416                      type string {
3387                        length "1..32" {3417                        length "1..32" {
3388                          description3418                          description
3389                            "The keychain name";3419                            "The keychain name";
3390                        }3420                        }
3391                      }3421                      }
3392                      must "(../message-digest or ../keychain) and not(../null)";3422                      must "(../message-digest or ../keychain) and not(../null)";
3393                      description3423                      description
3394                        "Specify keychain name";3424                        "Specify keychain name";
3395                    }3425                    }
3396                    container null {3426                    container null {
3397                      must "not(../message-digest or ../keychain)";3427                      must "not(../message-digest or ../keychain)";
3398                      presence "Indicates a null node is configured.";3428                      presence "Indicates a null node is configured.";
3399                      description3429                      description
3400                        "Use no authentication";3430                        "Use no authentication";
3401                    }3431                    }
3402                  }3432                  }
3403                  leaf cost {3433                  leaf cost {
3404                    type uint32 {3434                    type uint32 {
3405                      range "1..65535" {3435                      range "1..65535" {
3406                        description3436                        description
3407                          "Cost";3437                          "Cost";
3408                      }3438                      }
3409                    }3439                    }
3410                    description3440                    description
3411                      "Interface cost";3441                      "Interface cost";
3412                  }3442                  }
3413                  container cost-fallback {3443                  container cost-fallback {
3414                    presence "Indicates a cost-fallback node is configured.";3444                    presence "Indicates a cost-fallback node is configured.";
3415                    description3445                    description
3416                      "Cost when cumulative bandwidth goes below the theshold";3446                      "Cost when cumulative bandwidth goes below the theshold";
3417                    leaf cost {3447                    leaf cost {
3418                      type uint32 {3448                      type uint32 {
3419                        range "1..65535" {3449                        range "1..65535" {
3420                          description3450                          description
3421                            "Cost";3451                            "Cost";
3422                        }3452                        }
3423                      }3453                      }
3424                      mandatory true;3454                      mandatory true;
3425                      description3455                      description
3426                        "Cost when cumulative bandwidth goes below the theshold";3456                        "Cost when cumulative bandwidth goes below the theshold";
3427                    }3457                    }
3428                    leaf threshold {3458                    leaf threshold {
3429                      type uint32 {3459                      type uint32 {
3430                        range "1..4294967" {3460                        range "1..4294967" {
3431                          description3461                          description
3432                            "Threshold bandwidth in Mbits per second";3462                            "Threshold bandwidth in Mbits per second";
3433                        }3463                        }
3434                      }3464                      }
3435                      description3465                      description
3436                        "Threshold bandwidth when cost-fallback is applied";3466                        "Threshold bandwidth when cost-fallback is applied";
3437                    }3467                    }
3438                  }3468                  }
3439                  leaf hello-interval {3469                  leaf hello-interval {
3440                    type uint32 {3470                    type uint32 {
3441                      range "1..65535" {3471                      range "1..65535" {
3442                        description3472                        description
3443                          "Seconds";3473                          "Seconds";
3444                      }3474                      }
3445                    }3475                    }
3446                    description3476                    description
3447                      "Time between HELLO packets";3477                      "Time between HELLO packets";
3448                  }3478                  }
3449                  leaf dead-interval {3479                  leaf dead-interval {
3450                    type uint32 {3480                    type uint32 {
3451                      range "1..65535" {3481                      range "1..65535" {
3452                        description3482                        description
3453                          "Seconds";3483                          "Seconds";
3454                      }3484                      }
3455                    }3485                    }
3456                    must "not(../dead-interval-minimal-hello-multiplier)";3486                    must "not(../dead-interval-minimal-hello-multiplier)";
3457                    description3487                    description
3458                      "Seconds";3488                      "Seconds";
3459                  }3489                  }
3460                  leaf dead-interval-minimal-hello-multiplier {3490                  leaf dead-interval-minimal-hello-multiplier {
3461                    type uint32 {3491                    type uint32 {
3462                      range "3..20" {3492                      range "3..20" {
3463                        description3493                        description
3464                          "Multiplier";3494                          "Multiplier";
3465                      }3495                      }
3466                    }3496                    }
3467                    must "not(../dead-interval)";3497                    must "not(../dead-interval)";
3468                    description3498                    description
3469                      "Set multiplier for Hellos";3499                      "Set multiplier for Hellos";
3470                  }3500                  }
3471                  leaf retransmit-interval {3501                  leaf retransmit-interval {
3472                    type uint32 {3502                    type uint32 {
3473                      range "1..65535" {3503                      range "1..65535" {
3474                        description3504                        description
3475                          "Seconds";3505                          "Seconds";
3476                      }3506                      }
3477                    }3507                    }
3478                    description3508                    description
3479                      "Time between retransmitting lost link state advertisements";3509                      "Time between retransmitting lost link state advertisements";
3480                  }3510                  }
3481                  leaf transmit-delay {3511                  leaf transmit-delay {
3482                    type uint32 {3512                    type uint32 {
3483                      range "1..65535" {3513                      range "1..65535" {
3484                        description3514                        description
3485                          "Seconds";3515                          "Seconds";
3486                      }3516                      }
3487                    }3517                    }
3488                    description3518                    description
3489                      "Estimated time needed to send link-state update packet";3519                      "Estimated time needed to send link-state update packet";
3490                  }3520                  }
3491                  container mtu-ignore {3521                  container mtu-ignore {
3492                    description3522                    description
3493                      "Enable/Disable ignoring of MTU in DBD packets";3523                      "Enable/Disable ignoring of MTU in DBD packets";
3494                    container enable {3524                    container enable {
3495                      must "not(../disable)";3525                      must "not(../disable)";
3496                      presence "Indicates a enable node is configured.";3526                      presence "Indicates a enable node is configured.";
3497                      description3527                      description
3498                        "Ignores the MTU in DBD packets";3528                        "Ignores the MTU in DBD packets";
3499                    }3529                    }
3500                    container disable {3530                    container disable {
3501                      must "not(../enable)";3531                      must "not(../enable)";
3502                      presence "Indicates a disable node is configured.";3532                      presence "Indicates a disable node is configured.";
3503                      description3533                      description
3504                        "Disable ignoring of MTU in DBD packets";3534                        "Disable ignoring of MTU in DBD packets";
3505                    }3535                    }
3506                  }3536                  }
3507                  container database-filter {3537                  container database-filter {
3508                    description3538                    description
3509                      "Filter OSPF LSA during synchronization and flooding";3539                      "Filter OSPF LSA during synchronization and flooding";
3510                    container all {3540                    container all {
3511                      description3541                      description
3512                        "Filter all LSA";3542                        "Filter all LSA";
3513                      container out {3543                      container out {
3514                        description3544                        description
3515                          "Outgoing LSA";3545                          "Outgoing LSA";
3516                        container enable {3546                        container enable {
3517                          must "not(../disable)";3547                          must "not(../disable)";
3518                          presence "Indicates a enable node is configured.";3548                          presence "Indicates a enable node is configured.";
3519                          description3549                          description
3520                            "Enable filtering";3550                            "Enable filtering";
3521                        }3551                        }
3522                        container disable {3552                        container disable {
3523                          must "not(../enable)";3553                          must "not(../enable)";
3524                          presence "Indicates a disable node is configured.";3554                          presence "Indicates a disable node is configured.";
3525                          description3555                          description
3526                            "Disable filtering";3556                            "Disable filtering";
3527                        }3557                        }
3528                      }3558                      }
3529                    }3559                    }
3530                  }3560                  }
3531                  container distribute-list {3561                  container distribute-list {
3532                    description3562                    description
3533                      "Filter networks in routing updates";3563                      "Filter networks in routing updates";
3534                    leaf access-list {3564                    leaf access-list {
3535                      type string;3565                      type string;
3536                      must "not(../route-policy)";3566                      must "not(../route-policy)";
3537                      description3567                      description
3538                        "In-bound access-list name.";3568                        "In-bound access-list name.";
3539                    }3569                    }
3540                    leaf route-policy {3570                    leaf route-policy {
3541                      type xr:Route-policy-name;3571                      type xr:Route-policy-name;
3542                      must "not(../access-list)";3572                      must "not(../access-list)";
3543                      description3573                      description
3544                        "Route Policy to filter OSPF prefixes";3574                        "Route Policy to filter OSPF prefixes";
3545                    }3575                    }
3546                  }3576                  }
3547                  leaf packet-size {3577                  leaf packet-size {
3548                    type uint32 {3578                    type uint32 {
3549                      range "576..10000" {3579                      range "576..10000" {
3550                        description3580                        description
3551                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";3581                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";
3552                      }3582                      }
3553                    }3583                    }
3554                    description3584                    description
3555                      "Customize size of OSPF packets upto MTU";3585                      "Customize size of OSPF packets upto MTU";
3556                  }3586                  }
3557                  container fast-reroute {3587                  container fast-reroute {
3558                    description3588                    description
3559                      "IP Fast Reroute";3589                      "IP Fast Reroute";
3560                    container per-link {3590                    container per-link {
3561                      description3591                      description
3562                        "Per-link Computation";3592                        "Per-link Computation";
3563                      container enable {3593                      container enable {
3564                        presence "Indicates a enable node is configured.";3594                        presence "Indicates a enable node is configured.";
3565                        description3595                        description
3566                          "Enable per-link Computation";3596                          "Enable per-link Computation";
3567                      }3597                      }
3568                      container exclude {3598                      container exclude {
3569                        description3599                        description
3570                          "Per-link LFA exclusion information";3600                          "Per-link LFA exclusion information";
3571                        container interfaces {3601                        container interfaces {
3572                          description3602                          description
3573                            "Exclude an interface from Per-link LFA";3603                            "Exclude an interface from Per-link LFA";
3574                          list interface {3604                          list interface {
3575                            key "interface-name";3605                            key "interface-name";
3576                            description3606                            description
3577                              "Exclude an interface from Per-link LFA";3607                              "Exclude an interface from Per-link LFA";
3578                            leaf interface-name {3608                            leaf interface-name {
3579                              type xr:Interface-name;3609                              type xr:Interface-name;
3580                              description3610                              description
3581                                "Exclude an interface from Per-link LFA";3611                                "Exclude an interface from Per-link LFA";
3582                            }3612                            }
3583                          }3613                          }
3584                        }3614                        }
3585                      }3615                      }
3586                      container lfa-candidate {3616                      container lfa-candidate {
3587                        description3617                        description
3588                          "FRR LFA candidate information";3618                          "FRR LFA candidate information";
3589                        container interfaces {3619                        container interfaces {
3590                          description3620                          description
3591                            "Include an interface to LFA candidate in computation";3621                            "Include an interface to LFA candidate in computation";
3592                          list interface {3622                          list interface {
3593                            key "interface-name";3623                            key "interface-name";
3594                            description3624                            description
3595                              "Include an interface to LFA candidate in computation";3625                              "Include an interface to LFA candidate in computation";
3596                            leaf interface-name {3626                            leaf interface-name {
3597                              type xr:Interface-name;3627                              type xr:Interface-name;
3598                              description3628                              description
3599                                "Include an interface to LFA candidate in computation";3629                                "Include an interface to LFA candidate in computation";
3600                            }3630                            }
3601                          }3631                          }
3602                        }3632                        }
3603                      }3633                      }
3604                      container use-candidate-only {3634                      container use-candidate-only {
3605                        description3635                        description
3606                          "Enable/Disable backup selection from candidate-list only";3636                          "Enable/Disable backup selection from candidate-list only";
3607                        container enable {3637                        container enable {
3608                          must "not(../disable)";3638                          must "not(../disable)";
3609                          presence "Indicates a enable node is configured.";3639                          presence "Indicates a enable node is configured.";
3610                          description3640                          description
3611                            "Enable backup selection from candidate-list only";3641                            "Enable backup selection from candidate-list only";
3612                        }3642                        }
3613                        container disable {3643                        container disable {
3614                          must "not(../enable)";3644                          must "not(../enable)";
3615                          presence "Indicates a disable node is configured.";3645                          presence "Indicates a disable node is configured.";
3616                          description3646                          description
3617                            "Disable backup selection from candidate-list only";3647                            "Disable backup selection from candidate-list only";
3618                        }3648                        }
3619                      }3649                      }
3620                    }3650                    }
3621                    container per-prefix {3651                    container per-prefix {
3622                      description3652                      description
3623                        "Per-prefix Computation";3653                        "Per-prefix Computation";
3624                      container enable {3654                      container enable {
3625                        presence "Indicates a enable node is configured.";3655                        presence "Indicates a enable node is configured.";
3626                        description3656                        description
3627                          "Enable per-prefix Computation";3657                          "Enable per-prefix Computation";
3628                      }3658                      }
3629                      container exclude {3659                      container exclude {
3630                        description3660                        description
3631                          "Per-prefix LFA exclusion information";3661                          "Per-prefix LFA exclusion information";
3632                        container interfaces {3662                        container interfaces {
3633                          description3663                          description
3634                            "Exclude an interface from Per-prefix LFA";3664                            "Exclude an interface from Per-prefix LFA";
3635                          list interface {3665                          list interface {
3636                            key "interface-name";3666                            key "interface-name";
3637                            description3667                            description
3638                              "Exclude an interface from Per-prefix LFA";3668                              "Exclude an interface from Per-prefix LFA";
3639                            leaf interface-name {3669                            leaf interface-name {
3640                              type xr:Interface-name;3670                              type xr:Interface-name;
3641                              description3671                              description
3642                                "Exclude an interface from Per-prefix LFA";3672                                "Exclude an interface from Per-prefix LFA";
3643                            }3673                            }
3644                          }3674                          }
3645                        }3675                        }
3646                      }3676                      }
3647                      container lfa-candidate {3677                      container lfa-candidate {
3648                        description3678                        description
3649                          "FRR LFA candidate information";3679                          "FRR LFA candidate information";
3650                        container interfaces {3680                        container interfaces {
3651                          description3681                          description
3652                            "Include an interface to LFA candidate in computation";3682                            "Include an interface to LFA candidate in computation";
3653                          list interface {3683                          list interface {
3654                            key "interface-name";3684                            key "interface-name";
3655                            description3685                            description
3656                              "Include an interface to LFA candidate in computation";3686                              "Include an interface to LFA candidate in computation";
3657                            leaf interface-name {3687                            leaf interface-name {
3658                              type xr:Interface-name;3688                              type xr:Interface-name;
3659                              description3689                              description
3660                                "Include an interface to LFA candidate in computation";3690                                "Include an interface to LFA candidate in computation";
3661                            }3691                            }
3662                          }3692                          }
3663                        }3693                        }
3664                      }3694                      }
3665                      container use-candidate-only {3695                      container use-candidate-only {
3666                        description3696                        description
3667                          "Enable/Disable backup selection from candidate-list only";3697                          "Enable/Disable backup selection from candidate-list only";
3668                        container enable {3698                        container enable {
3669                          must "not(../disable)";3699                          must "not(../disable)";
3670                          presence "Indicates a enable node is configured.";3700                          presence "Indicates a enable node is configured.";
3671                          description3701                          description
3672                            "Enable backup selection from candidate-list only";3702                            "Enable backup selection from candidate-list only";
3673                        }3703                        }
3674                        container disable {3704                        container disable {
3675                          must "not(../enable)";3705                          must "not(../enable)";
3676                          presence "Indicates a disable node is configured.";3706                          presence "Indicates a disable node is configured.";
3677                          description3707                          description
3678                            "Disable backup selection from candidate-list only";3708                            "Disable backup selection from candidate-list only";
3679                        }3709                        }
3680                      }3710                      }
3681                      container remote-lfa {3711                      container remote-lfa {
3682                        description3712                        description
3683                          "Remote LFA computation";3713                          "Remote LFA computation";
3684                        container tunnel {3714                        container tunnel {
3685                          description3715                          description
3686                            "Enable remote LFA computation using tunnels";3716                            "Enable remote LFA computation using tunnels";
3687                          container mpls-ldp {3717                          container mpls-ldp {
3688                            must "not(../../disable)";3718                            must "not(../../disable)";
3689                            presence "Indicates a mpls-ldp node is configured.";3719                            presence "Indicates a mpls-ldp node is configured.";
3690                            description3720                            description
3691                              "MPLS LDP tunnel";3721                              "MPLS LDP tunnel";
3692                          }3722                          }
3693                        }3723                        }
3694                        container disable {3724                        container disable {
3695                          must "not(../tunnel/mpls-ldp)";3725                          must "not(../tunnel/mpls-ldp)";
3696                          presence "Indicates a disable node is configured.";3726                          presence "Indicates a disable node is configured.";
3697                          description3727                          description
3698                            "Disable remote LFA computation";3728                            "Disable remote LFA computation";
3699                        }3729                        }
3700                        leaf maximum-cost {3730                        leaf maximum-cost {
3701                          type uint32 {3731                          type uint32 {
3702                            range "1..4294967295" {3732                            range "1..4294967295" {
3703                              description3733                              description
3704                                "Path cost";3734                                "Path cost";
3705                            }3735                            }
3706                          }3736                          }
3707                          description3737                          description
3708                            "Maximum path cost to remote LFA";3738                            "Maximum path cost to remote LFA";
3709                        }3739                        }
3710                      }3740                      }
3711                      container ti-lfa {3741                      container ti-lfa {
3712                        description3742                        description
3713                          "Topology Independent LFA computation";3743                          "Topology Independent LFA computation";
3714                        container enable {3744                        container enable {
3715                          must "not(../disable)";3745                          must "not(../disable)";
3716                          presence "Indicates a enable node is configured.";3746                          presence "Indicates a enable node is configured.";
3717                          description3747                          description
3718                            "Enable TI LFA computation";3748                            "Enable TI LFA computation";
3719                        }3749                        }
3720                        container disable {3750                        container disable {
3721                          must "not(../enable)";3751                          must "not(../enable)";
3722                          presence "Indicates a disable node is configured.";3752                          presence "Indicates a disable node is configured.";
3723                          description3753                          description
3724                            "Disable TI LFA computation";3754                            "Disable TI LFA computation";
3725                        }3755                        }
3726                      }3756                      }
3727                      container tiebreaker {3757                      container tiebreaker {
3728                        description3758                        description
3729                          "Configure tiebreaker for multiple backups";3759                          "Configure tiebreaker for multiple backups";
3730                        container downstream {3760                        container downstream {
3731                          description3761                          description
3732                            "Prefer backup path via downstream node";3762                            "Prefer backup path via downstream node";
3733                          leaf index {3763                          leaf index {
3734                            type uint32 {3764                            type uint32 {
3735                              range "1..255" {3765                              range "1..255" {
3736                                description3766                                description
3737                                  "Index";3767                                  "Index";
3738                              }3768                              }
3739                            }3769                            }
3740                            must "not(../disable)";3770                            must "not(../disable)";
3741                            description3771                            description
3742                              "Set preference order among tiebreakers";3772                              "Set preference order among tiebreakers";
3743                          }3773                          }
3744                          container disable {3774                          container disable {
3745                            must "not(../index)";3775                            must "not(../index)";
3746                            presence "Indicates a disable node is configured.";3776                            presence "Indicates a disable node is configured.";
3747                            description3777                            description
3748                              "Disable tiebreaker";3778                              "Disable tiebreaker";
3749                          }3779                          }
3750                        }3780                        }
3751                        container lc-disjoint {3781                        container lc-disjoint {
3752                          description3782                          description
3753                            "Prefer line card disjoint backup path";3783                            "Prefer line card disjoint backup path";
3754                          leaf index {3784                          leaf index {
3755                            type uint32 {3785                            type uint32 {
3756                              range "1..255" {3786                              range "1..255" {
3757                                description3787                                description
3758                                  "Index";3788                                  "Index";
3759                              }3789                              }
3760                            }3790                            }
3761                            must "not(../disable)";3791                            must "not(../disable)";
3762                            description3792                            description
3763                              "Set preference order among tiebreakers";3793                              "Set preference order among tiebreakers";
3764                          }3794                          }
3765                          container disable {3795                          container disable {
3766                            must "not(../index)";3796                            must "not(../index)";
3767                            presence "Indicates a disable node is configured.";3797                            presence "Indicates a disable node is configured.";
3768                            description3798                            description
3769                              "Disable tiebreaker";3799                              "Disable tiebreaker";
3770                          }3800                          }
3771                        }3801                        }
3772                        container lowest-backup-metric {3802                        container lowest-backup-metric {
3773                          description3803                          description
3774                            "Prefer backup path with lowest total metric";3804                            "Prefer backup path with lowest total metric";
3775                          leaf index {3805                          leaf index {
3776                            type uint32 {3806                            type uint32 {
3777                              range "1..255" {3807                              range "1..255" {
3778                                description3808                                description
3779                                  "Index";3809                                  "Index";
3780                              }3810                              }
3781                            }3811                            }
3782                            must "not(../disable)";3812                            must "not(../disable)";
3783                            description3813                            description
3784                              "Set preference order among tiebreakers";3814                              "Set preference order among tiebreakers";
3785                          }3815                          }
3786                          container disable {3816                          container disable {
3787                            must "not(../index)";3817                            must "not(../index)";
3788                            presence "Indicates a disable node is configured.";3818                            presence "Indicates a disable node is configured.";
3789                            description3819                            description
3790                              "Disable tiebreaker";3820                              "Disable tiebreaker";
3791                          }3821                          }
3792                        }3822                        }
3793                        container node-protecting {3823                        container node-protecting {
3794                          description3824                          description
3795                            "Prefer node protecting backup path";3825                            "Prefer node protecting backup path";
3796                          leaf index {3826                          leaf index {
3797                            type uint32 {3827                            type uint32 {
3798                              range "1..255" {3828                              range "1..255" {
3799                                description3829                                description
3800                                  "Index";3830                                  "Index";
3801                              }3831                              }
3802                            }3832                            }
3803                            must "not(../disable)";3833                            must "not(../disable)";
3804                            description3834                            description
3805                              "Set preference order among tiebreakers";3835                              "Set preference order among tiebreakers";
3806                          }3836                          }
3807                          container disable {3837                          container disable {
3808                            must "not(../index)";3838                            must "not(../index)";
3809                            presence "Indicates a disable node is configured.";3839                            presence "Indicates a disable node is configured.";
3810                            description3840                            description
3811                              "Disable tiebreaker";3841                              "Disable tiebreaker";
3812                          }3842                          }
3813                        }3843                        }
3814                        container primary-path {3844                        container primary-path {
3815                          description3845                          description
3816                            "Prefer backup path from ECMP set";3846                            "Prefer backup path from ECMP set";
3817                          leaf index {3847                          leaf index {
3818                            type uint32 {3848                            type uint32 {
3819                              range "1..255" {3849                              range "1..255" {
3820                                description3850                                description
3821                                  "Index";3851                                  "Index";
3822                              }3852                              }
3823                            }3853                            }
3824                            must "not(../disable)";3854                            must "not(../disable)";
3825                            description3855                            description
3826                              "Set preference order among tiebreakers";3856                              "Set preference order among tiebreakers";
3827                          }3857                          }
3828                          container disable {3858                          container disable {
3829                            must "not(../index)";3859                            must "not(../index)";
3830                            presence "Indicates a disable node is configured.";3860                            presence "Indicates a disable node is configured.";
3831                            description3861                            description
3832                              "Disable tiebreaker";3862                              "Disable tiebreaker";
3833                          }3863                          }
3834                        }3864                        }
3835                        container secondary-path {3865                        container secondary-path {
3836                          description3866                          description
3837                            "Prefer non-ECMP backup path";3867                            "Prefer non-ECMP backup path";
3838                          leaf index {3868                          leaf index {
3839                            type uint32 {3869                            type uint32 {
3840                              range "1..255" {3870                              range "1..255" {
3841                                description3871                                description
3842                                  "Index";3872                                  "Index";
3843                              }3873                              }
3844                            }3874                            }
3845                            must "not(../disable)";3875                            must "not(../disable)";
3846                            description3876                            description
3847                              "Set preference order among tiebreakers";3877                              "Set preference order among tiebreakers";
3848                          }3878                          }
3849                          container disable {3879                          container disable {
3850                            must "not(../index)";3880                            must "not(../index)";
3851                            presence "Indicates a disable node is configured.";3881                            presence "Indicates a disable node is configured.";
3852                            description3882                            description
3853                              "Disable tiebreaker";3883                              "Disable tiebreaker";
3854                          }3884                          }
3855                        }3885                        }
3856                        container interface-disjoint {3886                        container interface-disjoint {
3857                          description3887                          description
3858                            "Prefer Interface disjoint backup path";3888                            "Prefer Interface disjoint backup path";
3859                          leaf index {3889                          leaf index {
3860                            type uint32 {3890                            type uint32 {
3861                              range "1..255" {3891                              range "1..255" {
3862                                description3892                                description
3863                                  "Index";3893                                  "Index";
3864                              }3894                              }
3865                            }3895                            }
3866                            must "not(../disable)";3896                            must "not(../disable)";
3867                            description3897                            description
3868                              "Set preference order among tiebreakers";3898                              "Set preference order among tiebreakers";
3869                          }3899                          }
3870                          container disable {3900                          container disable {
3871                            must "not(../index)";3901                            must "not(../index)";
3872                            presence "Indicates a disable node is configured.";3902                            presence "Indicates a disable node is configured.";
3873                            description3903                            description
3874                              "Disable tiebreaker";3904                              "Disable tiebreaker";
3875                          }3905                          }
3876                        }3906                        }
3877                        container srlg-disjoint {3907                        container srlg-disjoint {
3878                          description3908                          description
3879                            "Prefer SRLG disjoint backup path";3909                            "Prefer SRLG disjoint backup path";
3880                          leaf index {3910                          leaf index {
3881                            type uint32 {3911                            type uint32 {
3882                              range "1..255" {3912                              range "1..255" {
3883                                description3913                                description
3884                                  "Index";3914                                  "Index";
3885                              }3915                              }
3886                            }3916                            }
3887                            must "not(../disable)";3917                            must "not(../disable)";
3888                            description3918                            description
3889                              "Set preference order among tiebreakers";3919                              "Set preference order among tiebreakers";
3890                          }3920                          }
3891                          container disable {3921                          container disable {
3892                            must "not(../index)";3922                            must "not(../index)";
3893                            presence "Indicates a disable node is configured.";3923                            presence "Indicates a disable node is configured.";
3894                            description3924                            description
3895                              "Disable tiebreaker";3925                              "Disable tiebreaker";
3896                          }3926                          }
3897                        }3927                        }
3898                      }3928                      }
3899                    }3929                    }
3900                    container disable {3930                    container disable {
3901                      presence "Indicates a disable node is configured.";3931                      presence "Indicates a disable node is configured.";
3902                      description3932                      description
3903                        "Disable IP Fast Reroute";3933                        "Disable IP Fast Reroute";
3904                    }3934                    }
3905                  }3935                  }
3906                  container passive {3936                  container passive {
3907                    description3937                    description
3908                      "Enable/Disable passive";3938                      "Enable/Disable passive";
3909                    container enable {3939                    container enable {
3910                      must "not(../disable)";3940                      must "not(../disable)";
3911                      presence "Indicates a enable node is configured.";3941                      presence "Indicates a enable node is configured.";
3912                      description3942                      description
3913                        "Enable passive";3943                        "Enable passive";
3914                    }3944                    }
3915                    container disable {3945                    container disable {
3916                      must "not(../enable)";3946                      must "not(../enable)";
3917                      presence "Indicates a disable node is configured.";3947                      presence "Indicates a disable node is configured.";
3918                      description3948                      description
3919                        "Disable passive";3949                        "Disable passive";
3920                    }3950                    }
3921                  }3951                  }
3922                  container delay {3952                  container delay {
3923                    description3953                    description
3924                      "Delay configuration setting";3954                      "Delay configuration setting";
3925                    container normalize {3955                    container normalize {
3926                      description3956                      description
3927                        "Delay normalization setting";3957                        "Delay normalization setting";
3928                      leaf interval {3958                      leaf interval {
3929                        type uint32 {3959                        type uint32 {
3930                          range "1..16777215" {3960                          range "1..16777215" {
3931                            description3961                            description
3932                              "Value in microseconds";3962                              "Value in microseconds";
3933                          }3963                          }
3934                        }3964                        }
3935                        must "../offset";3965                        must "../offset";
3936                        description3966                        description
3937                          "Normalization interval";3967                          "Normalization interval";
3938                      }3968                      }
3939                      leaf offset {3969                      leaf offset {
3940                        type uint32 {3970                        type uint32 {
3941                          range "0..16777215" {3971                          range "0..16777215" {
3942                            description3972                            description
3943                              "Value in microseconds";3973                              "Value in microseconds";
3944                          }3974                          }
3945                        }3975                        }
3946                        must "../interval";3976                        must "../interval";
3947                        description3977                        description
3948                          "Normalization offset";3978                          "Normalization offset";
3949                      }3979                      }
3950                    }3980                    }
3951                  }3981                  }
3952                }3982                }
3953              }3983              }
3954              container mpls {3984              container mpls {
3955                description3985                description
3956                  "Configure MPLS routing protocol parameters";3986                  "Configure MPLS routing protocol parameters";
3957                container traffic-eng {3987                container traffic-eng {
3958                  presence "Indicates a traffic-eng node is configured.";3988                  presence "Indicates a traffic-eng node is configured.";
3959                  description3989                  description
3960                    "Configure an ospf area to run MPLS Traffic Engineering";3990                    "Configure an ospf area to run MPLS Traffic Engineering";
3961                }3991                }
3962                container ldp {3992                container ldp {
3963                  description3993                  description
3964                    "Configure LDP parameters";3994                    "Configure LDP parameters";
3965                  container sync {3995                  container sync {
3966                    presence "Indicates a sync node is configured.";3996                    presence "Indicates a sync node is configured.";
3967                    description3997                    description
3968                      "Enable LDP IGP synchronization";3998                      "Enable LDP IGP synchronization";
3969                    container disable {3999                    container disable {
3970                      presence "Indicates a disable node is configured.";4000                      presence "Indicates a disable node is configured.";
3971                      description4001                      description
3972                        "Disable MPLS LDP sync";4002                        "Disable MPLS LDP sync";
3973                    }4003                    }
3974                  }4004                  }
3975                  container sync-igp-shortcuts {4005                  container sync-igp-shortcuts {
3976                    presence "Indicates a sync-igp-shortcuts node is configured.";4006                    presence "Indicates a sync-igp-shortcuts node is configured.";
3977                    description4007                    description
3978                      "LDP sync for igp-shortcut tunnels";4008                      "LDP sync for igp-shortcut tunnels";
3979                    container disable {4009                    container disable {
3980                      presence "Indicates a disable node is configured.";4010                      presence "Indicates a disable node is configured.";
3981                      description4011                      description
3982                        "Disable MPLS LDP sync igp-shortcuts";4012                        "Disable MPLS LDP sync igp-shortcuts";
3983                    }4013                    }
3984                  }4014                  }
3985                  container auto-config {4015                  container auto-config {
3986                    presence "Indicates a auto-config node is configured.";4016                    presence "Indicates a auto-config node is configured.";
3987                    description4017                    description
3988                      "Enable LDP IGP interface auto-configuration";4018                      "Enable LDP IGP interface auto-configuration";
3989                  }4019                  }
3990                }4020                }
3991              }4021              }
3992              container route-policy {4022              container route-policy {
3993                description4023                description
3994                  "Specify the route-policy to filter type 3 LSAs";4024                  "Specify the route-policy to filter type 3 LSAs";
3995                leaf in {4025                leaf in {
3996                  type xr:Route-policy-name;4026                  type xr:Route-policy-name;
3997                  description4027                  description
3998                    "route-policy to filter inbound";4028                    "route-policy to filter inbound";
3999                }4029                }
4000                leaf out {4030                leaf out {
4001                  type xr:Route-policy-name;4031                  type xr:Route-policy-name;
4002                  description4032                  description
4003                    "route-policy to filter outbound";4033                    "route-policy to filter outbound";
4004                }4034                }
4005              }4035              }
4006              container external-out {4036              container external-out {
4007                description4037                description
4008                  "Enable/Disable advertisement of intra-area prefixes as external";4038                  "Enable/Disable advertisement of intra-area prefixes as external";
4009                container enable {4039                container enable {
4010                  must "not(../disable)";4040                  must "not(../disable)";
4011                  presence "Indicates a enable node is configured.";4041                  presence "Indicates a enable node is configured.";
4012                  description4042                  description
4013                    "Enable advertisement of intra-area routes as external";4043                    "Enable advertisement of intra-area routes as external";
4014                }4044                }
4015                container disable {4045                container disable {
4016                  must "not(../enable)";4046                  must "not(../enable)";
4017                  presence "Indicates a disable node is configured.";4047                  presence "Indicates a disable node is configured.";
4018                  description4048                  description
4019                    "Disable advertisement of intra-area routes as external";4049                    "Disable advertisement of intra-area routes as external";
4020                }4050                }
4021              }4051              }
4022              container summary-in {4052              container summary-in {
4023                description4053                description
4024                  "Enable/Disable advertisement of external prefixes as inter-area";4054                  "Enable/Disable advertisement of external prefixes as inter-area";
4025                container enable {4055                container enable {
4026                  must "not(../disable)";4056                  must "not(../disable)";
4027                  presence "Indicates a enable node is configured.";4057                  presence "Indicates a enable node is configured.";
4028                  description4058                  description
4029                    "Enable advertisement of external prefixes as inter-area";4059                    "Enable advertisement of external prefixes as inter-area";
4030                }4060                }
4031                container disable {4061                container disable {
4032                  must "not(../enable)";4062                  must "not(../enable)";
4033                  presence "Indicates a disable node is configured.";4063                  presence "Indicates a disable node is configured.";
4034                  description4064                  description
4035                    "Disable advertisement of external prefixes as inter-area";4065                    "Disable advertisement of external prefixes as inter-area";
4036                }4066                }
4037              }4067              }
4038              container segment-routing {4068              container segment-routing {
4039                description4069                description
4040                  "Segment Routing configuration";4070                  "Segment Routing configuration";
4041                container mpls {4071                container mpls {
4042                  must "not(../disable)";4072                  must "not(../disable)";
4043                  presence "Indicates a mpls node is configured.";4073                  presence "Indicates a mpls node is configured.";
4044                  description4074                  description
4045                    "SR using MPLS dataplane";4075                    "SR using MPLS dataplane";
4046                }4076                }
4047                container disable {4077                container disable {
4048                  must "not(../mpls)";4078                  must "not(../mpls)";
4049                  presence "Indicates a disable node is configured.";4079                  presence "Indicates a disable node is configured.";
4050                  description4080                  description
4051                    "Disable Segment Routing ";4081                    "Disable Segment Routing ";
4052                }4082                }
4053                container forwarding {4083                container forwarding {
4054                  description4084                  description
4055                    "Enable Segment-routing forwarding on interfaces";4085                    "Enable Segment-routing forwarding on interfaces";
4056                  container mpls {4086                  container mpls {
4057                    must "not(../disable)";4087                    must "not(../disable)";
4058                    presence "Indicates a mpls node is configured.";4088                    presence "Indicates a mpls node is configured.";
4059                    description4089                    description
4060                      "Use MPLS for Segment-routing forwarding";4090                      "Use MPLS for Segment-routing forwarding";
4061                  }4091                  }
4062                  container disable {4092                  container disable {
4063                    must "not(../mpls)";4093                    must "not(../mpls)";
4064                    presence "Indicates a disable node is configured.";4094                    presence "Indicates a disable node is configured.";
4065                    description4095                    description
4066                      "Disable Segment-routing on Area interfaces";4096                      "Disable Segment-routing on Area interfaces";
4067                  }4097                  }
4068                }4098                }
4069              }4099              }
4070              container distribute {4100              container distribute {
4071                description4101                description
4072                  "Enable Distribution of LSAs to external services";4102                  "Enable Distribution of LSAs to external services";
4073                container link-state {4103                container link-state {
4074                  description4104                  description
4075                    "Distribute the link-state database to external services";4105                    "Distribute the link-state database to external services";
4076                  container disable {4106                  container disable {
4077                    presence "Indicates a disable node is configured.";4107                    presence "Indicates a disable node is configured.";
4078                    description4108                    description
4079                      "Disable link-state advertisement of this area ";4109                      "Disable link-state advertisement of this area ";
4080                  }4110                  }
4081                  container excl-nssa {4111                  container excl-nssa {
4082                    presence "Indicates a excl-nssa node is configured.";4112                    presence "Indicates a excl-nssa node is configured.";
4083                    description4113                    description
4084                      "Filter advertisement of NSSA prefixes";4114                      "Filter advertisement of NSSA prefixes";
4085                  }4115                  }
4086                  container excl-summary {4116                  container excl-summary {
4087                    presence "Indicates a excl-summary node is configured.";4117                    presence "Indicates a excl-summary node is configured.";
4088                    description4118                    description
4089                      "Filter advertisement of summary prefixes";4119                      "Filter advertisement of summary prefixes";
4090                  }4120                  }
4091                }4121                }
4092              }4122              }
4093              container interfaces {4123              container interfaces {
4094                description4124                description
4095                  "Enable routing on an interface ";4125                  "Enable routing on an interface ";
4096                list interface {4126                list interface {
4097                  key "interface-name";4127                  key "interface-name";
4098                  description4128                  description
4099                    "Enable routing on an interface ";4129                    "Enable routing on an interface ";
4100                  leaf interface-name {4130                  leaf interface-name {
4101                    type xr:Interface-name;4131                    type xr:Interface-name;
4102                    description4132                    description
4103                      "Enable routing on an interface ";4133                      "Enable routing on an interface ";
4104                  }4134                  }
4105                  container affinity {4135                  container affinity {
4106                    description4136                    description
4107                      "Interface affinity configuration";4137                      "Interface affinity configuration";
4108                    container flex-algo {4138                    container flex-algo {
4109                      description4139                      description
4110                        "Flexible Algorithm";4140                        "Flexible Algorithm";
4111                      container affinity-attributes {4141                      container affinity-attributes {
4112                        description4142                        description
4113                          "Affinity attribute name";4143                          "Affinity attribute name";
4114                        list affinity-attribute {4144                        list affinity-attribute {
4115                          key "affinity-attribute-name";4145                          key "affinity-attribute-name";
4116                          description4146                          description
4117                            "Affinity attribute name";4147                            "Affinity attribute name";
4118                          leaf affinity-attribute-name {4148                          leaf affinity-attribute-name {
4119                            type string {4149                            type string {
4120                              length "1..32" {4150                              length "1..32" {
4121                                description4151                                description
4122                                  "Affinity attribute name";4152                                  "Affinity attribute name";
4123                              }4153                              }
4124                            }4154                            }
4125                            description4155                            description
4126                              "Affinity attribute name";4156                              "Affinity attribute name";
4127                          }4157                          }
4128                        }4158                        }
4129                      }4159                      }
4130                    }4160                    }
4131                  }4161                  }
4132                  container neighbors {4162                  container neighbors {
4133                    description4163                    description
4134                      "Specify a neighbor router";4164                      "Specify a neighbor router";
4135                    list neighbor {4165                    list neighbor {
4136                      key "neighbor-address";4166                      key "neighbor-address";
4137                      description4167                      description
4138                        "Specify a neighbor router";4168                        "Specify a neighbor router";
4139                      leaf neighbor-address {4169                      leaf neighbor-address {
4140                        type inet:ipv4-address-no-zone;4170                        type inet:ipv4-address-no-zone;
4141                        description4171                        description
4142                          "Specify a neighbor router";4172                          "Specify a neighbor router";
4143                      }4173                      }
4144                      container database-filter {4174                      container database-filter {
4145                        description4175                        description
4146                          "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";4176                          "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";
4147                        container all {4177                        container all {
4148                          description4178                          description
4149                            "Filter all LSA";4179                            "Filter all LSA";
4150                          container out {4180                          container out {
4151                            presence "Indicates a out node is configured.";4181                            presence "Indicates a out node is configured.";
4152                            description4182                            description
4153                              "Outgoing LSA";4183                              "Outgoing LSA";
4154                          }4184                          }
4155                        }4185                        }
4156                      }4186                      }
4157                      leaf priority {4187                      leaf priority {
4158                        type uint32 {4188                        type uint32 {
4159                          range "0..255" {4189                          range "0..255" {
4160                            description4190                            description
4161                              "Priority";4191                              "Priority";
4162                          }4192                          }
4163                        }4193                        }
4164                        description4194                        description
4165                          "OSPF priority of non-broadcast neighbor";4195                          "OSPF priority of non-broadcast neighbor";
4166                      }4196                      }
4167                      leaf poll-interval {4197                      leaf poll-interval {
4168                        type uint32 {4198                        type uint32 {
4169                          range "0..65535" {4199                          range "0..65535" {
4170                            description4200                            description
4171                              "Seconds";4201                              "Seconds";
4172                          }4202                          }
4173                        }4203                        }
4174                        description4204                        description
4175                          "OSPF dead-router polling interval";4205                          "OSPF dead-router polling interval";
4176                      }4206                      }
4177                      leaf cost {4207                      leaf cost {
4178                        type uint32 {4208                        type uint32 {
4179                          range "1..65535" {4209                          range "1..65535" {
4180                            description4210                            description
4181                              "Metric";4211                              "Metric";
4182                          }4212                          }
4183                        }4213                        }
4184                        description4214                        description
4185                          "OSPF cost for point-to-multipoint neighbor";4215                          "OSPF cost for point-to-multipoint neighbor";
4186                      }4216                      }
4187                    }4217                    }
4188                  }4218                  }
4189                  container authentication-key {4219                  container authentication-key {
4190                    description4220                    description
4191                      "Authentication password (key)";4221                      "Authentication password (key)";
4192                    leaf encrypted {4222                    leaf encrypted {
4193                      type xr:Proprietary-password;4223                      type xr:Proprietary-password;
4194                      description4224                      description
4195                        "Specifies an ENCRYPTED password (key) will follow";4225                        "Specifies an ENCRYPTED password (key) will follow";
4196                    }4226                    }
4197                  }4227                  }
4198                  container message-digest-keys {4228                  container message-digest-keys {
4199                    description4229                    description
4200                      "Message digest authentication password (key)";4230                      "Message digest authentication password (key)";
4201                    list message-digest-key {4231                    list message-digest-key {
4202                      key "message-digest-key-id";4232                      key "message-digest-key-id";
4203                      description4233                      description
4204                        "Message digest authentication password (key)";4234                        "Message digest authentication password (key)";
4205                      leaf message-digest-key-id {4235                      leaf message-digest-key-id {
4206                        type uint32 {4236                        type uint32 {
4207                          range "1..255" {4237                          range "1..255" {
4208                            description4238                            description
4209                              "Key ID";4239                              "Key ID";
4210                          }4240                          }
4211                        }4241                        }
4212                        description4242                        description
4213                          "Message digest authentication password (key)";4243                          "Message digest authentication password (key)";
4214                      }4244                      }
4215                      container md5 {4245                      container md5 {
4216                        description4246                        description
4217                          "Use MD5 algorithm";4247                          "Use MD5 algorithm";
4218                        leaf encrypted {4248                        leaf encrypted {
4219                          type xr:Proprietary-password;4249                          type xr:Proprietary-password;
4220                          mandatory true;4250                          mandatory true;
4221                          description4251                          description
4222                            "Specifies an ENCRYPTED password (key) will follow";4252                            "Specifies an ENCRYPTED password (key) will follow";
4223                        }4253                        }
4224                      }4254                      }
4225                    }4255                    }
4226                  }4256                  }
4227                  container authentication {4257                  container authentication {
4228                    presence "Indicates a authentication node is configured.";4258                    presence "Indicates a authentication node is configured.";
4229                    description4259                    description
4230                      "Enable authentication";4260                      "Enable authentication";
4231                    container message-digest {4261                    container message-digest {
4232                      must "not(../null or ../keychain)";4262                      must "not(../null or ../keychain)";
4233                      presence "Indicates a message-digest node is configured.";4263                      presence "Indicates a message-digest node is configured.";
4234                      description4264                      description
4235                        "Use message-digest authentication";4265                        "Use message-digest authentication";
4236                    }4266                    }
4237                    container keychain {4267                    container keychain {
4238                      must "../keychain-name";4268                      must "../keychain-name";
4239                      presence "Indicates a keychain node is configured.";4269                      presence "Indicates a keychain node is configured.";
4240                      description4270                      description
4241                        "Use keychain";4271                        "Use keychain";
4242                    }4272                    }
4243                    leaf keychain-name {4273                    leaf keychain-name {
4244                      type string {4274                      type string {
4245                        length "1..32" {4275                        length "1..32" {
4246                          description4276                          description
4247                            "The keychain name";4277                            "The keychain name";
4248                        }4278                        }
4249                      }4279                      }
4250                      must "(../message-digest or ../keychain) and not(../null)";4280                      must "(../message-digest or ../keychain) and not(../null)";
4251                      description4281                      description
4252                        "Specify keychain name";4282                        "Specify keychain name";
4253                    }4283                    }
4254                    container null {4284                    container null {
4255                      must "not(../message-digest or ../keychain)";4285                      must "not(../message-digest or ../keychain)";
4256                      presence "Indicates a null node is configured.";4286                      presence "Indicates a null node is configured.";
4257                      description4287                      description
4258                        "Use no authentication";4288                        "Use no authentication";
4259                    }4289                    }
4260                  }4290                  }
4261                  container network {4291                  container network {
4262                    description4292                    description
4263                      "Network type";4293                      "Network type";
4264                    container broadcast {4294                    container broadcast {
4265                      presence "Indicates a broadcast node is configured.";4295                      presence "Indicates a broadcast node is configured.";
4266                      description4296                      description
4267                        "Specify OSPF broadcast multi-access network";4297                        "Specify OSPF broadcast multi-access network";
4268                    }4298                    }
4269                    container non-broadcast {4299                    container non-broadcast {
4270                      presence "Indicates a non-broadcast node is configured.";4300                      presence "Indicates a non-broadcast node is configured.";
4271                      description4301                      description
4272                        "Specify OSPF NBMA network";4302                        "Specify OSPF NBMA network";
4273                    }4303                    }
4274                    container point-to-point {4304                    container point-to-point {
4275                      presence "Indicates a point-to-point node is configured.";4305                      presence "Indicates a point-to-point node is configured.";
4276                      description4306                      description
4277                        "Specify OSPF point-to-point network";4307                        "Specify OSPF point-to-point network";
4278                    }4308                    }
4279                    container point-to-multipoint {4309                    container point-to-multipoint {
4280                      presence "Indicates a point-to-multipoint node is configured.";4310                      presence "Indicates a point-to-multipoint node is configured.";
4281                      description4311                      description
4282                        "Specify OSPF point-to-multipoint network";4312                        "Specify OSPF point-to-multipoint network";
4283                    }4313                    }
4284                  }4314                  }
4285                  container mpls {4315                  container mpls {
4286                    description4316                    description
4287                      "Configure MPLS routing protocol parameters";4317                      "Configure MPLS routing protocol parameters";
4288                    container ldp {4318                    container ldp {
4289                      description4319                      description
4290                        "Configure LDP parameters";4320                        "Configure LDP parameters";
4291                      container sync {4321                      container sync {
4292                        when "(../../../interface-name[not(starts-with(text(),'tunnel-te'))])" {4322                        when "(../../../interface-name[not(starts-with(text(),'tunnel-te'))])" {
4293                          tailf:dependency "../../../interface-name";4323                          tailf:dependency "../../../interface-name";
4294                        }4324                        }
4295                        presence "Indicates a sync node is configured.";4325                        presence "Indicates a sync node is configured.";
4296                        description4326                        description
4297                          "LDP IGP synchronization for interfaces";4327                          "LDP IGP synchronization for interfaces";
4298                        container disable {4328                        container disable {
4299                          presence "Indicates a disable node is configured.";4329                          presence "Indicates a disable node is configured.";
4300                          description4330                          description
4301                            "Disable MPLS LDP sync on interfaces";4331                            "Disable MPLS LDP sync on interfaces";
4302                        }4332                        }
4303                      }4333                      }
4304                      container sync-igp-shortcuts {4334                      container sync-igp-shortcuts {
4305                        when "../../../interface-name[starts-with(text(),'tunnel-te')]" {4335                        when "../../../interface-name[starts-with(text(),'tunnel-te')]" {
4306                          tailf:dependency "../../../interface-name";4336                          tailf:dependency "../../../interface-name";
4307                        }4337                        }
4308                        presence "Indicates a sync-igp-shortcuts node is configured.";4338                        presence "Indicates a sync-igp-shortcuts node is configured.";
4309                        description4339                        description
4310                          "LDP sync for igp-shortcuts on tunnel interfaces";4340                          "LDP sync for igp-shortcuts on tunnel interfaces";
4311                        container disable {4341                        container disable {
4312                          presence "Indicates a disable node is configured.";4342                          presence "Indicates a disable node is configured.";
4313                          description4343                          description
4314                            "Disable MPLS LDP sync igp-shortcuts";4344                            "Disable MPLS LDP sync igp-shortcuts";
4315                        }4345                        }
4316                      }4346                      }
4317                    }4347                    }
4318                  }4348                  }
4319                  leaf cost {4349                  leaf cost {
4320                    type uint32 {4350                    type uint32 {
4321                      range "1..65535" {4351                      range "1..65535" {
4322                        description4352                        description
4323                          "Cost";4353                          "Cost";
4324                      }4354                      }
4325                    }4355                    }
4326                    description4356                    description
4327                      "Interface cost";4357                      "Interface cost";
4328                  }4358                  }
4329                  container cost-fallback {4359                  container cost-fallback {
4330                    presence "Indicates a cost-fallback node is configured.";4360                    presence "Indicates a cost-fallback node is configured.";
4331                    description4361                    description
4332                      "Cost when cumulative bandwidth goes below the theshold";4362                      "Cost when cumulative bandwidth goes below the theshold";
4333                    leaf cost {4363                    leaf cost {
4334                      type uint32 {4364                      type uint32 {
4335                        range "1..65535" {4365                        range "1..65535" {
4336                          description4366                          description
4337                            "Cost";4367                            "Cost";
4338                        }4368                        }
4339                      }4369                      }
4340                      must "../threshold";4370                      must "../threshold";
4341                      description4371                      description
4342                        "Cost when cumulative bandwidth goes below the theshold";4372                        "Cost when cumulative bandwidth goes below the theshold";
4343                    }4373                    }
4344                    leaf threshold {4374                    leaf threshold {
4345                      type uint32 {4375                      type uint32 {
4346                        range "1..4294967" {4376                        range "1..4294967" {
4347                          description4377                          description
4348                            "Threshold bandwidth in Mbits per second";4378                            "Threshold bandwidth in Mbits per second";
4349                        }4379                        }
4350                      }4380                      }
4351                      must "../cost";4381                      must "../cost";
4352                      description4382                      description
4353                        "Threshold bandwidth when cost-fallback is applied";4383                        "Threshold bandwidth when cost-fallback is applied";
4354                    }4384                    }
4355                    container anomaly {4385                    container anomaly {
4356                      description4386                      description
4357                        "Penalty when a delay or loss is notified";4387                        "Penalty when a delay or loss is notified";
4358                      container delay {4388                      container delay {
4359                        description4389                        description
4360                          "Penalty when a delay is notified";4390                          "Penalty when a delay is notified";
4361                        container igp-metric {4391                        container igp-metric {
4362                          description4392                          description
4363                            "Penalty on IGP metric";4393                            "Penalty on IGP metric";
4364                          leaf increment {4394                          leaf increment {
4365                            type uint32 {4395                            type uint32 {
4366                              range "1..65534" {4396                              range "1..65534" {
4367                                description4397                                description
4368                                  "Increment by this value";4398                                  "Increment by this value";
4369                              }4399                              }
4370                            }4400                            }
4371                            must4401                            must
4372                              "not(../multiplier or ../value4402                              "not(../multiplier or ../value
4373                               or ../disable)";4403                               or ../disable)";
4374                            description4404                            description
4375                              "Increment the IGP cost by the specified value";4405                              "Increment the IGP cost by the specified value";
4376                          }4406                          }
4377                          leaf multiplier {4407                          leaf multiplier {
4378                            type uint32 {4408                            type uint32 {
4379                              range "1..255" {4409                              range "1..255" {
4380                                description4410                                description
4381                                  "Multiply by this value";4411                                  "Multiply by this value";
4382                              }4412                              }
4383                            }4413                            }
4384                            must4414                            must
4385                              "not(../increment or ../value4415                              "not(../increment or ../value
4386                               or ../disable)";4416                               or ../disable)";
4387                            description4417                            description
4388                              "Multiply the IGP cost by the specified value";4418                              "Multiply the IGP cost by the specified value";
4389                          }4419                          }
4390                          leaf value {4420                          leaf value {
4391                            type uint32 {4421                            type uint32 {
4392                              range "1..65535" {4422                              range "1..65535" {
4393                                description4423                                description
4394                                  "Set to this value";4424                                  "Set to this value";
4395                              }4425                              }
4396                            }4426                            }
4397                            must4427                            must
4398                              "not(../increment or ../multiplier4428                              "not(../increment or ../multiplier
4399                               or ../disable)";4429                               or ../disable)";
4400                            description4430                            description
4401                              "Set the IGP cost to the specified value";4431                              "Set the IGP cost to the specified value";
4402                          }4432                          }
4403                          container disable {4433                          container disable {
4404                            must4434                            must
4405                              "not(../increment or ../multiplier4435                              "not(../increment or ../multiplier
4406                               or ../value)";4436                               or ../value)";
4407                            presence "Indicates a disable node is configured.";4437                            presence "Indicates a disable node is configured.";
4408                            description4438                            description
4409                              "Disable igp-metric";4439                              "Disable igp-metric";
4410                          }4440                          }
4411                        }4441                        }
4412                        container te-metric {4442                        container te-metric {
4413                          description4443                          description
4414                            "Penalty on TE metric";4444                            "Penalty on TE metric";
4415                          leaf increment {4445                          leaf increment {
4416                            type uint32 {4446                            type uint32 {
4417                              range "1..4294967294" {4447                              range "1..4294967294" {
4418                                description4448                                description
4419                                  "Increment by this value";4449                                  "Increment by this value";
4420                              }4450                              }
4421                            }4451                            }
4422                            must4452                            must
4423                              "not(../multiplier or ../value4453                              "not(../multiplier or ../value
4424                               or ../disable)";4454                               or ../disable)";
4425                            description4455                            description
4426                              "Increment the TE metric by the specified value";4456                              "Increment the TE metric by the specified value";
4427                          }4457                          }
4428                          leaf multiplier {4458                          leaf multiplier {
4429                            type uint32 {4459                            type uint32 {
4430                              range "1..255" {4460                              range "1..255" {
4431                                description4461                                description
4432                                  "Multiply by this value";4462                                  "Multiply by this value";
4433                              }4463                              }
4434                            }4464                            }
4435                            must4465                            must
4436                              "not(../increment or ../value4466                              "not(../increment or ../value
4437                               or ../disable)";4467                               or ../disable)";
4438                            description4468                            description
4439                              "Multiply the TE metric by the specified value";4469                              "Multiply the TE metric by the specified value";
4440                          }4470                          }
4441                          leaf value {4471                          leaf value {
4442                            type uint32 {4472                            type uint32 {
4443                              range "1..4294967295" {4473                              range "1..4294967295" {
4444                                description4474                                description
4445                                  "Set to this value";4475                                  "Set to this value";
4446                              }4476                              }
4447                            }4477                            }
4448                            must4478                            must
4449                              "not(../increment or ../multiplier4479                              "not(../increment or ../multiplier
4450                               or ../disable)";4480                               or ../disable)";
4451                            description4481                            description
4452                              "Set the TE cost to the specified value";4482                              "Set the TE cost to the specified value";
4453                          }4483                          }
4454                          container disable {4484                          container disable {
4455                            must4485                            must
4456                              "not(../increment or ../multiplier4486                              "not(../increment or ../multiplier
4457                               or ../value)";4487                               or ../value)";
4458                            presence "Indicates a disable node is configured.";4488                            presence "Indicates a disable node is configured.";
4459                            description4489                            description
4460                              "Disable te-metric";4490                              "Disable te-metric";
4461                          }4491                          }
4462                        }4492                        }
4463                      }4493                      }
4464                    }4494                    }
4465                  }4495                  }
4466                  leaf hello-interval {4496                  leaf hello-interval {
4467                    type uint32 {4497                    type uint32 {
4468                      range "1..65535" {4498                      range "1..65535" {
4469                        description4499                        description
4470                          "Seconds";4500                          "Seconds";
4471                      }4501                      }
4472                    }4502                    }
4473                    description4503                    description
4474                      "Time between HELLO packets";4504                      "Time between HELLO packets";
4475                  }4505                  }
4476                  leaf dead-interval {4506                  leaf dead-interval {
4477                    type uint32 {4507                    type uint32 {
4478                      range "1..65535" {4508                      range "1..65535" {
4479                        description4509                        description
4480                          "Seconds";4510                          "Seconds";
4481                      }4511                      }
4482                    }4512                    }
4483                    must "not(../dead-interval-minimal-hello-multiplier)";4513                    must "not(../dead-interval-minimal-hello-multiplier)";
4484                    description4514                    description
4485                      "Seconds";4515                      "Seconds";
4486                  }4516                  }
4487                  leaf dead-interval-minimal-hello-multiplier {4517                  leaf dead-interval-minimal-hello-multiplier {
4488                    type uint32 {4518                    type uint32 {
4489                      range "3..20" {4519                      range "3..20" {
4490                        description4520                        description
4491                          "Multiplier";4521                          "Multiplier";
4492                      }4522                      }
4493                    }4523                    }
4494                    must "not(../dead-interval)";4524                    must "not(../dead-interval)";
4495                    description4525                    description
4496                      "Set multiplier for Hellos";4526                      "Set multiplier for Hellos";
4497                  }4527                  }
4498                  leaf priority {4528                  leaf priority {
4499                    type uint32 {4529                    type uint32 {
4500                      range "0..255" {4530                      range "0..255" {
4501                        description4531                        description
4502                          "Priority";4532                          "Priority";
4503                      }4533                      }
4504                    }4534                    }
4505                    description4535                    description
4506                      "Router priority";4536                      "Router priority";
4507                  }4537                  }
4508                  leaf retransmit-interval {4538                  leaf retransmit-interval {
4509                    type uint32 {4539                    type uint32 {
4510                      range "1..65535" {4540                      range "1..65535" {
4511                        description4541                        description
4512                          "Seconds";4542                          "Seconds";
4513                      }4543                      }
4514                    }4544                    }
4515                    description4545                    description
4516                      "Time between retransmitting lost link state advertisements";4546                      "Time between retransmitting lost link state advertisements";
4517                  }4547                  }
4518                  leaf transmit-delay {4548                  leaf transmit-delay {
4519                    type uint32 {4549                    type uint32 {
4520                      range "1..65535" {4550                      range "1..65535" {
4521                        description4551                        description
4522                          "Seconds";4552                          "Seconds";
4523                      }4553                      }
4524                    }4554                    }
4525                    description4555                    description
4526                      "Estimated time needed to send link-state update packet";4556                      "Estimated time needed to send link-state update packet";
4527                  }4557                  }
4528                  container flood-reduction {4558                  container flood-reduction {
4529                    description4559                    description
4530                      "OSPF Flood Reduction";4560                      "OSPF Flood Reduction";
4531                    container enable {4561                    container enable {
4532                      must "not(../disable)";4562                      must "not(../disable)";
4533                      presence "Indicates a enable node is configured.";4563                      presence "Indicates a enable node is configured.";
4534                      description4564                      description
4535                        "Enable flooding reduction";4565                        "Enable flooding reduction";
4536                    }4566                    }
4537                    container disable {4567                    container disable {
4538                      must "not(../enable)";4568                      must "not(../enable)";
4539                      presence "Indicates a disable node is configured.";4569                      presence "Indicates a disable node is configured.";
4540                      description4570                      description
4541                        "Disable flooding reduction";4571                        "Disable flooding reduction";
4542                    }4572                    }
4543                  }4573                  }
4544                  container demand-circuit {4574                  container demand-circuit {
4545                    description4575                    description
4546                      "Enable/Disable demand circuits";4576                      "Enable/Disable demand circuits";
4547                    container enable {4577                    container enable {
4548                      must "not(../disable)";4578                      must "not(../disable)";
4549                      presence "Indicates a enable node is configured.";4579                      presence "Indicates a enable node is configured.";
4550                      description4580                      description
4551                        "Enable demand circuits";4581                        "Enable demand circuits";
4552                    }4582                    }
4553                    container disable {4583                    container disable {
4554                      must "not(../enable)";4584                      must "not(../enable)";
4555                      presence "Indicates a disable node is configured.";4585                      presence "Indicates a disable node is configured.";
4556                      description4586                      description
4557                        "Disable demand circuits";4587                        "Disable demand circuits";
4558                    }4588                    }
4559                  }4589                  }
4560                  container mtu-ignore {4590                  container mtu-ignore {
4561                    description4591                    description
4562                      "Enable/Disable ignoring of MTU in DBD packets";4592                      "Enable/Disable ignoring of MTU in DBD packets";
4563                    container enable {4593                    container enable {
4564                      must "not(../disable)";4594                      must "not(../disable)";
4565                      presence "Indicates a enable node is configured.";4595                      presence "Indicates a enable node is configured.";
4566                      description4596                      description
4567                        "Ignores the MTU in DBD packets";4597                        "Ignores the MTU in DBD packets";
4568                    }4598                    }
4569                    container disable {4599                    container disable {
4570                      must "not(../enable)";4600                      must "not(../enable)";
4571                      presence "Indicates a disable node is configured.";4601                      presence "Indicates a disable node is configured.";
4572                      description4602                      description
4573                        "Disable ignoring of MTU in DBD packets";4603                        "Disable ignoring of MTU in DBD packets";
4574                    }4604                    }
4575                  }4605                  }
4576                  container database-filter {4606                  container database-filter {
4577                    description4607                    description
4578                      "Filter OSPF LSA during synchronization and flooding";4608                      "Filter OSPF LSA during synchronization and flooding";
4579                    container all {4609                    container all {
4580                      description4610                      description
4581                        "Filter all LSA";4611                        "Filter all LSA";
4582                      container out {4612                      container out {
4583                        description4613                        description
4584                          "Outgoing LSA";4614                          "Outgoing LSA";
4585                        container enable {4615                        container enable {
4586                          must "not(../disable)";4616                          must "not(../disable)";
4587                          presence "Indicates a enable node is configured.";4617                          presence "Indicates a enable node is configured.";
4588                          description4618                          description
4589                            "Enable filtering";4619                            "Enable filtering";
4590                        }4620                        }
4591                        container disable {4621                        container disable {
4592                          must "not(../enable)";4622                          must "not(../enable)";
4593                          presence "Indicates a disable node is configured.";4623                          presence "Indicates a disable node is configured.";
4594                          description4624                          description
4595                            "Disable filtering";4625                            "Disable filtering";
4596                        }4626                        }
4597                      }4627                      }
4598                    }4628                    }
4599                  }4629                  }
4600                  container passive {4630                  container passive {
4601                    description4631                    description
4602                      "Enable/Disable passive";4632                      "Enable/Disable passive";
4603                    container enable {4633                    container enable {
4604                      must "not(../disable)";4634                      must "not(../disable)";
4605                      presence "Indicates a enable node is configured.";4635                      presence "Indicates a enable node is configured.";
4606                      description4636                      description
4607                        "Enable passive";4637                        "Enable passive";
4608                    }4638                    }
4609                    container disable {4639                    container disable {
4610                      must "not(../enable)";4640                      must "not(../enable)";
4611                      presence "Indicates a disable node is configured.";4641                      presence "Indicates a disable node is configured.";
4612                      description4642                      description
4613                        "Disable passive";4643                        "Disable passive";
4614                    }4644                    }
4615                  }4645                  }
4616                  container distribute-list {4646                  container distribute-list {
4617                    description4647                    description
4618                      "Filter networks in routing updates";4648                      "Filter networks in routing updates";
4619                    leaf access-list {4649                    leaf access-list {
4620                      type string;4650                      type string;
4621                      must "not(../route-policy)";4651                      must "not(../route-policy)";
4622                      description4652                      description
4623                        "In-bound access-list name.";4653                        "In-bound access-list name.";
4624                    }4654                    }
4625                    leaf route-policy {4655                    leaf route-policy {
4626                      type xr:Route-policy-name;4656                      type xr:Route-policy-name;
4627                      must "not(../access-list)";4657                      must "not(../access-list)";
4628                      description4658                      description
4629                        "Route Policy to filter OSPF prefixes";4659                        "Route Policy to filter OSPF prefixes";
4630                    }4660                    }
4631                  }4661                  }
4632                  leaf packet-size {4662                  leaf packet-size {
4633                    type uint32 {4663                    type uint32 {
4634                      range "576..10000" {4664                      range "576..10000" {
4635                        description4665                        description
4636                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";4666                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";
4637                      }4667                      }
4638                    }4668                    }
4639                    description4669                    description
4640                      "Customize size of OSPF packets upto MTU";4670                      "Customize size of OSPF packets upto MTU";
4641                  }4671                  }
4642                  container bfd {4672                  container bfd {
4643                    description4673                    description
4644                      "Configure BFD parameters";4674                      "Configure BFD parameters";
4645                    container fast-detect {4675                    container fast-detect {
4646                      must "not(strict-mode and disable)";4676                      must "not(strict-mode and disable)";
4647                      presence "Indicates a fast-detect node is configured.";4677                      presence "Indicates a fast-detect node is configured.";
4648                      description4678                      description
4649                        "Enable Fast detection";4679                        "Enable Fast detection";
4650                      container strict-mode {4680                      container strict-mode {
4651                        presence "Indicates a strict-mode node is configured.";4681                        presence "Indicates a strict-mode node is configured.";
4652                        description4682                        description
4653                          "Hold down neighbor session until BFD session is up";4683                          "Hold down neighbor session until BFD session is up";
4654                      }4684                      }
4655                      container disable {4685                      container disable {
4656                        presence "Indicates a disable node is configured.";4686                        presence "Indicates a disable node is configured.";
4657                        description4687                        description
4658                          "Prevent bfd settings from being inherited from the parent";4688                          "Prevent bfd settings from being inherited from the parent";
4659                      }4689                      }
4660                    }4690                    }
4661                    leaf minimum-interval {4691                    leaf minimum-interval {
4662                      type uint32 {4692                      type uint32 {
4663                        range "3..30000" {4693                        range "3..30000" {
4664                          description4694                          description
4665                            "minimum interval in milli-seconds";4695                            "minimum interval in milli-seconds";
4666                        }4696                        }
4667                      }4697                      }
4668                      description4698                      description
4669                        "Minimum interval";4699                        "Minimum interval";
4670                    }4700                    }
4671                    leaf multiplier {4701                    leaf multiplier {
4672                      type uint32 {4702                      type uint32 {
4673                        range "2..50" {4703                        range "2..50" {
4674                          description4704                          description
4675                            "Detect multiplier";4705                            "Detect multiplier";
4676                        }4706                        }
4677                      }4707                      }
4678                      description4708                      description
4679                        "Detect multiplier";4709                        "Detect multiplier";
4680                    }4710                    }
4681                  }4711                  }
4682                  container security {4712                  container security {
4683                    description4713                    description
4684                      "Enable security";4714                      "Enable security";
4685                    container ttl {4715                    container ttl {
4686                      must "not(hops and disable)";4716                      must "not(hops and disable)";
4687                      presence "Indicates a ttl node is configured.";4717                      presence "Indicates a ttl node is configured.";
4688                      description4718                      description
4689                        "Enable ttl security";4719                        "Enable ttl security";
4690                      leaf hops {4720                      leaf hops {
4691                        type uint32 {4721                        type uint32 {
4692                          range "1..254" {4722                          range "1..254" {
4693                            description4723                            description
4694                              "maximum number of hops allowed";4724                              "maximum number of hops allowed";
4695                          }4725                          }
4696                        }4726                        }
4697                        description4727                        description
4698                          "IP hops";4728                          "IP hops";
4699                      }4729                      }
4700                      container disable {4730                      container disable {
4701                        presence "Indicates a disable node is configured.";4731                        presence "Indicates a disable node is configured.";
4702                        description4732                        description
4703                          "Disable TTL security";4733                          "Disable TTL security";
4704                      }4734                      }
4705                    }4735                    }
4706                  }4736                  }
4707                  container prefix-suppression {4737                  container prefix-suppression {
4708                    description4738                    description
4709                      "Suppress advertisement of the prefixes";4739                      "Suppress advertisement of the prefixes";
4710                    container enable {4740                    container enable {
4711                      must "not(../disable)";4741                      must "not(../disable)";
4712                      presence "Indicates a enable node is configured.";4742                      presence "Indicates a enable node is configured.";
4713                      description4743                      description
4714                        "Enable primary address suppression";4744                        "Enable primary address suppression";
4715                    }4745                    }
4716                    container disable {4746                    container disable {
4717                      must "not(../enable)";4747                      must "not(../enable)";
4718                      presence "Indicates a disable node is configured.";4748                      presence "Indicates a disable node is configured.";
4719                      description4749                      description
4720                        "Disable primary address suppression";4750                        "Disable primary address suppression";
4721                    }4751                    }
4722                    container secondary-address {4752                    container secondary-address {
4723                      description4753                      description
4724                        "Enable/Disable secondary address suppression";4754                        "Enable/Disable secondary address suppression";
4725                      container enable {4755                      container enable {
4726                        must "not(../disable)";4756                        must "not(../disable)";
4727                        presence "Indicates a enable node is configured.";4757                        presence "Indicates a enable node is configured.";
4728                        description4758                        description
4729                          "Enable secondary address suppression";4759                          "Enable secondary address suppression";
4730                      }4760                      }
4731                      container disable {4761                      container disable {
4732                        must "not(../enable)";4762                        must "not(../enable)";
4733                        presence "Indicates a disable node is configured.";4763                        presence "Indicates a disable node is configured.";
4734                        description4764                        description
4735                          "Disable secondary address suppression";4765                          "Disable secondary address suppression";
4736                      }4766                      }
4737                    }4767                    }
4738                  }4768                  }
4739                  container fast-reroute {4769                  container fast-reroute {
4740                    description4770                    description
4741                      "IP Fast Reroute";4771                      "IP Fast Reroute";
4742                    container per-link {4772                    container per-link {
4743                      description4773                      description
4744                        "Per-link Computation";4774                        "Per-link Computation";
4745                      container enable {4775                      container enable {
4746                        presence "Indicates a enable node is configured.";4776                        presence "Indicates a enable node is configured.";
4747                        description4777                        description
4748                          "Enable per-link Computation";4778                          "Enable per-link Computation";
4749                      }4779                      }
4750                      container exclude {4780                      container exclude {
4751                        description4781                        description
4752                          "Per-link LFA exclusion information";4782                          "Per-link LFA exclusion information";
4753                        container interfaces {4783                        container interfaces {
4754                          description4784                          description
4755                            "Exclude an interface from Per-link LFA";4785                            "Exclude an interface from Per-link LFA";
4756                          list interface {4786                          list interface {
4757                            key "interface-name";4787                            key "interface-name";
4758                            description4788                            description
4759                              "Exclude an interface from Per-link LFA";4789                              "Exclude an interface from Per-link LFA";
4760                            leaf interface-name {4790                            leaf interface-name {
4761                              type xr:Interface-name;4791                              type xr:Interface-name;
4762                              description4792                              description
4763                                "Exclude an interface from Per-link LFA";4793                                "Exclude an interface from Per-link LFA";
4764                            }4794                            }
4765                          }4795                          }
4766                        }4796                        }
4767                      }4797                      }
4768                      container lfa-candidate {4798                      container lfa-candidate {
4769                        description4799                        description
4770                          "FRR LFA candidate information";4800                          "FRR LFA candidate information";
4771                        container interfaces {4801                        container interfaces {
4772                          description4802                          description
4773                            "Include an interface to LFA candidate in computation";4803                            "Include an interface to LFA candidate in computation";
4774                          list interface {4804                          list interface {
4775                            key "interface-name";4805                            key "interface-name";
4776                            description4806                            description
4777                              "Include an interface to LFA candidate in computation";4807                              "Include an interface to LFA candidate in computation";
4778                            leaf interface-name {4808                            leaf interface-name {
4779                              type xr:Interface-name;4809                              type xr:Interface-name;
4780                              description4810                              description
4781                                "Include an interface to LFA candidate in computation";4811                                "Include an interface to LFA candidate in computation";
4782                            }4812                            }
4783                          }4813                          }
4784                        }4814                        }
4785                      }4815                      }
4786                      container use-candidate-only {4816                      container use-candidate-only {
4787                        description4817                        description
4788                          "Enable/Disable backup selection from candidate-list only";4818                          "Enable/Disable backup selection from candidate-list only";
4789                        container enable {4819                        container enable {
4790                          must "not(../disable)";4820                          must "not(../disable)";
4791                          presence "Indicates a enable node is configured.";4821                          presence "Indicates a enable node is configured.";
4792                          description4822                          description
4793                            "Enable backup selection from candidate-list only";4823                            "Enable backup selection from candidate-list only";
4794                        }4824                        }
4795                        container disable {4825                        container disable {
4796                          must "not(../enable)";4826                          must "not(../enable)";
4797                          presence "Indicates a disable node is configured.";4827                          presence "Indicates a disable node is configured.";
4798                          description4828                          description
4799                            "Disable backup selection from candidate-list only";4829                            "Disable backup selection from candidate-list only";
4800                        }4830                        }
4801                      }4831                      }
4802                    }4832                    }
4803                    container per-prefix {4833                    container per-prefix {
4804                      description4834                      description
4805                        "Per-prefix Computation";4835                        "Per-prefix Computation";
4806                      container enable {4836                      container enable {
4807                        presence "Indicates a enable node is configured.";4837                        presence "Indicates a enable node is configured.";
4808                        description4838                        description
4809                          "Enable per-prefix Computation";4839                          "Enable per-prefix Computation";
4810                      }4840                      }
4811                      container exclude {4841                      container exclude {
4812                        description4842                        description
4813                          "Per-prefix LFA exclusion information";4843                          "Per-prefix LFA exclusion information";
4814                        container interfaces {4844                        container interfaces {
4815                          description4845                          description
4816                            "Exclude an interface from Per-prefix LFA";4846                            "Exclude an interface from Per-prefix LFA";
4817                          list interface {4847                          list interface {
4818                            key "interface-name";4848                            key "interface-name";
4819                            description4849                            description
4820                              "Exclude an interface from Per-prefix LFA";4850                              "Exclude an interface from Per-prefix LFA";
4821                            leaf interface-name {4851                            leaf interface-name {
4822                              type xr:Interface-name;4852                              type xr:Interface-name;
4823                              description4853                              description
4824                                "Exclude an interface from Per-prefix LFA";4854                                "Exclude an interface from Per-prefix LFA";
4825                            }4855                            }
4826                          }4856                          }
4827                        }4857                        }
4828                      }4858                      }
4829                      container lfa-candidate {4859                      container lfa-candidate {
4830                        description4860                        description
4831                          "FRR LFA candidate information";4861                          "FRR LFA candidate information";
4832                        container interfaces {4862                        container interfaces {
4833                          description4863                          description
4834                            "Include an interface to LFA candidate in computation";4864                            "Include an interface to LFA candidate in computation";
4835                          list interface {4865                          list interface {
4836                            key "interface-name";4866                            key "interface-name";
4837                            description4867                            description
4838                              "Include an interface to LFA candidate in computation";4868                              "Include an interface to LFA candidate in computation";
4839                            leaf interface-name {4869                            leaf interface-name {
4840                              type xr:Interface-name;4870                              type xr:Interface-name;
4841                              description4871                              description
4842                                "Include an interface to LFA candidate in computation";4872                                "Include an interface to LFA candidate in computation";
4843                            }4873                            }
4844                          }4874                          }
4845                        }4875                        }
4846                      }4876                      }
4847                      container use-candidate-only {4877                      container use-candidate-only {
4848                        description4878                        description
4849                          "Enable/Disable backup selection from candidate-list only";4879                          "Enable/Disable backup selection from candidate-list only";
4850                        container enable {4880                        container enable {
4851                          must "not(../disable)";4881                          must "not(../disable)";
4852                          presence "Indicates a enable node is configured.";4882                          presence "Indicates a enable node is configured.";
4853                          description4883                          description
4854                            "Enable backup selection from candidate-list only";4884                            "Enable backup selection from candidate-list only";
4855                        }4885                        }
4856                        container disable {4886                        container disable {
4857                          must "not(../enable)";4887                          must "not(../enable)";
4858                          presence "Indicates a disable node is configured.";4888                          presence "Indicates a disable node is configured.";
4859                          description4889                          description
4860                            "Disable backup selection from candidate-list only";4890                            "Disable backup selection from candidate-list only";
4861                        }4891                        }
4862                      }4892                      }
4863                      container remote-lfa {4893                      container remote-lfa {
4864                        description4894                        description
4865                          "Remote LFA computation";4895                          "Remote LFA computation";
4866                        container tunnel {4896                        container tunnel {
4867                          description4897                          description
4868                            "Enable remote LFA computation using tunnels";4898                            "Enable remote LFA computation using tunnels";
4869                          container mpls-ldp {4899                          container mpls-ldp {
4870                            must "not(../../disable)";4900                            must "not(../../disable)";
4871                            presence "Indicates a mpls-ldp node is configured.";4901                            presence "Indicates a mpls-ldp node is configured.";
4872                            description4902                            description
4873                              "MPLS LDP tunnel";4903                              "MPLS LDP tunnel";
4874                          }4904                          }
4875                        }4905                        }
4876                        container disable {4906                        container disable {
4877                          must "not(../tunnel/mpls-ldp)";4907                          must "not(../tunnel/mpls-ldp)";
4878                          presence "Indicates a disable node is configured.";4908                          presence "Indicates a disable node is configured.";
4879                          description4909                          description
4880                            "Disable remote LFA computation";4910                            "Disable remote LFA computation";
4881                        }4911                        }
4882                        leaf maximum-cost {4912                        leaf maximum-cost {
4883                          type uint32 {4913                          type uint32 {
4884                            range "1..4294967295" {4914                            range "1..4294967295" {
4885                              description4915                              description
4886                                "Path cost";4916                                "Path cost";
4887                            }4917                            }
4888                          }4918                          }
4889                          description4919                          description
4890                            "Maximum path cost to remote LFA";4920                            "Maximum path cost to remote LFA";
4891                        }4921                        }
4892                      }4922                      }
4893                      container ti-lfa {4923                      container ti-lfa {
4894                        description4924                        description
4895                          "Topology Independent LFA computation";4925                          "Topology Independent LFA computation";
4896                        container enable {4926                        container enable {
4897                          must "not(../disable)";4927                          must "not(../disable)";
4898                          presence "Indicates a enable node is configured.";4928                          presence "Indicates a enable node is configured.";
4899                          description4929                          description
4900                            "Enable TI LFA computation";4930                            "Enable TI LFA computation";
4901                        }4931                        }
4902                        container disable {4932                        container disable {
4903                          must "not(../enable)";4933                          must "not(../enable)";
4904                          presence "Indicates a disable node is configured.";4934                          presence "Indicates a disable node is configured.";
4905                          description4935                          description
4906                            "Disable TI LFA computation";4936                            "Disable TI LFA computation";
4907                        }4937                        }
4908                      }4938                      }
4909                      container tiebreaker {4939                      container tiebreaker {
4910                        description4940                        description
4911                          "Configure tiebreaker for multiple backups";4941                          "Configure tiebreaker for multiple backups";
4912                        container downstream {4942                        container downstream {
4913                          description4943                          description
4914                            "Prefer backup path via downstream node";4944                            "Prefer backup path via downstream node";
4915                          leaf index {4945                          leaf index {
4916                            type uint32 {4946                            type uint32 {
4917                              range "1..255" {4947                              range "1..255" {
4918                                description4948                                description
4919                                  "Index";4949                                  "Index";
4920                              }4950                              }
4921                            }4951                            }
4922                            must "not(../disable)";4952                            must "not(../disable)";
4923                            description4953                            description
4924                              "Set preference order among tiebreakers";4954                              "Set preference order among tiebreakers";
4925                          }4955                          }
4926                          container disable {4956                          container disable {
4927                            must "not(../index)";4957                            must "not(../index)";
4928                            presence "Indicates a disable node is configured.";4958                            presence "Indicates a disable node is configured.";
4929                            description4959                            description
4930                              "Disable tiebreaker";4960                              "Disable tiebreaker";
4931                          }4961                          }
4932                        }4962                        }
4933                        container lc-disjoint {4963                        container lc-disjoint {
4934                          description4964                          description
4935                            "Prefer line card disjoint backup path";4965                            "Prefer line card disjoint backup path";
4936                          leaf index {4966                          leaf index {
4937                            type uint32 {4967                            type uint32 {
4938                              range "1..255" {4968                              range "1..255" {
4939                                description4969                                description
4940                                  "Index";4970                                  "Index";
4941                              }4971                              }
4942                            }4972                            }
4943                            must "not(../disable)";4973                            must "not(../disable)";
4944                            description4974                            description
4945                              "Set preference order among tiebreakers";4975                              "Set preference order among tiebreakers";
4946                          }4976                          }
4947                          container disable {4977                          container disable {
4948                            must "not(../index)";4978                            must "not(../index)";
4949                            presence "Indicates a disable node is configured.";4979                            presence "Indicates a disable node is configured.";
4950                            description4980                            description
4951                              "Disable tiebreaker";4981                              "Disable tiebreaker";
4952                          }4982                          }
4953                        }4983                        }
4954                        container lowest-backup-metric {4984                        container lowest-backup-metric {
4955                          description4985                          description
4956                            "Prefer backup path with lowest total metric";4986                            "Prefer backup path with lowest total metric";
4957                          leaf index {4987                          leaf index {
4958                            type uint32 {4988                            type uint32 {
4959                              range "1..255" {4989                              range "1..255" {
4960                                description4990                                description
4961                                  "Index";4991                                  "Index";
4962                              }4992                              }
4963                            }4993                            }
4964                            must "not(../disable)";4994                            must "not(../disable)";
4965                            description4995                            description
4966                              "Set preference order among tiebreakers";4996                              "Set preference order among tiebreakers";
4967                          }4997                          }
4968                          container disable {4998                          container disable {
4969                            must "not(../index)";4999                            must "not(../index)";
4970                            presence "Indicates a disable node is configured.";5000                            presence "Indicates a disable node is configured.";
4971                            description5001                            description
4972                              "Disable tiebreaker";5002                              "Disable tiebreaker";
4973                          }5003                          }
4974                        }5004                        }
4975                        container node-protecting {5005                        container node-protecting {
4976                          description5006                          description
4977                            "Prefer node protecting backup path";5007                            "Prefer node protecting backup path";
4978                          leaf index {5008                          leaf index {
4979                            type uint32 {5009                            type uint32 {
4980                              range "1..255" {5010                              range "1..255" {
4981                                description5011                                description
4982                                  "Index";5012                                  "Index";
4983                              }5013                              }
4984                            }5014                            }
4985                            must "not(../disable)";5015                            must "not(../disable)";
4986                            description5016                            description
4987                              "Set preference order among tiebreakers";5017                              "Set preference order among tiebreakers";
4988                          }5018                          }
4989                          container disable {5019                          container disable {
4990                            must "not(../index)";5020                            must "not(../index)";
4991                            presence "Indicates a disable node is configured.";5021                            presence "Indicates a disable node is configured.";
4992                            description5022                            description
4993                              "Disable tiebreaker";5023                              "Disable tiebreaker";
4994                          }5024                          }
4995                        }5025                        }
4996                        container primary-path {5026                        container primary-path {
4997                          description5027                          description
4998                            "Prefer backup path from ECMP set";5028                            "Prefer backup path from ECMP set";
4999                          leaf index {5029                          leaf index {
5000                            type uint32 {5030                            type uint32 {
5001                              range "1..255" {5031                              range "1..255" {
5002                                description5032                                description
5003                                  "Index";5033                                  "Index";
5004                              }5034                              }
5005                            }5035                            }
5006                            must "not(../disable)";5036                            must "not(../disable)";
5007                            description5037                            description
5008                              "Set preference order among tiebreakers";5038                              "Set preference order among tiebreakers";
5009                          }5039                          }
5010                          container disable {5040                          container disable {
5011                            must "not(../index)";5041                            must "not(../index)";
5012                            presence "Indicates a disable node is configured.";5042                            presence "Indicates a disable node is configured.";
5013                            description5043                            description
5014                              "Disable tiebreaker";5044                              "Disable tiebreaker";
5015                          }5045                          }
5016                        }5046                        }
5017                        container secondary-path {5047                        container secondary-path {
5018                          description5048                          description
5019                            "Prefer non-ECMP backup path";5049                            "Prefer non-ECMP backup path";
5020                          leaf index {5050                          leaf index {
5021                            type uint32 {5051                            type uint32 {
5022                              range "1..255" {5052                              range "1..255" {
5023                                description5053                                description
5024                                  "Index";5054                                  "Index";
5025                              }5055                              }
5026                            }5056                            }
5027                            must "not(../disable)";5057                            must "not(../disable)";
5028                            description5058                            description
5029                              "Set preference order among tiebreakers";5059                              "Set preference order among tiebreakers";
5030                          }5060                          }
5031                          container disable {5061                          container disable {
5032                            must "not(../index)";5062                            must "not(../index)";
5033                            presence "Indicates a disable node is configured.";5063                            presence "Indicates a disable node is configured.";
5034                            description5064                            description
5035                              "Disable tiebreaker";5065                              "Disable tiebreaker";
5036                          }5066                          }
5037                        }5067                        }
5038                        container interface-disjoint {5068                        container interface-disjoint {
5039                          description5069                          description
5040                            "Prefer Interface disjoint backup path";5070                            "Prefer Interface disjoint backup path";
5041                          leaf index {5071                          leaf index {
5042                            type uint32 {5072                            type uint32 {
5043                              range "1..255" {5073                              range "1..255" {
5044                                description5074                                description
5045                                  "Index";5075                                  "Index";
5046                              }5076                              }
5047                            }5077                            }
5048                            must "not(../disable)";5078                            must "not(../disable)";
5049                            description5079                            description
5050                              "Set preference order among tiebreakers";5080                              "Set preference order among tiebreakers";
5051                          }5081                          }
5052                          container disable {5082                          container disable {
5053                            must "not(../index)";5083                            must "not(../index)";
5054                            presence "Indicates a disable node is configured.";5084                            presence "Indicates a disable node is configured.";
5055                            description5085                            description
5056                              "Disable tiebreaker";5086                              "Disable tiebreaker";
5057                          }5087                          }
5058                        }5088                        }
5059                        container srlg-disjoint {5089                        container srlg-disjoint {
5060                          description5090                          description
5061                            "Prefer SRLG disjoint backup path";5091                            "Prefer SRLG disjoint backup path";
5062                          leaf index {5092                          leaf index {
5063                            type uint32 {5093                            type uint32 {
5064                              range "1..255" {5094                              range "1..255" {
5065                                description5095                                description
5066                                  "Index";5096                                  "Index";
5067                              }5097                              }
5068                            }5098                            }
5069                            must "not(../disable)";5099                            must "not(../disable)";
5070                            description5100                            description
5071                              "Set preference order among tiebreakers";5101                              "Set preference order among tiebreakers";
5072                          }5102                          }
5073                          container disable {5103                          container disable {
5074                            must "not(../index)";5104                            must "not(../index)";
5075                            presence "Indicates a disable node is configured.";5105                            presence "Indicates a disable node is configured.";
5076                            description5106                            description
5077                              "Disable tiebreaker";5107                              "Disable tiebreaker";
5078                          }5108                          }
5079                        }5109                        }
5080                      }5110                      }
5081                    }5111                    }
5082                    container disable {5112                    container disable {
5083                      presence "Indicates a disable node is configured.";5113                      presence "Indicates a disable node is configured.";
5084                      description5114                      description
5085                        "Disable IP Fast Reroute";5115                        "Disable IP Fast Reroute";
5086                    }5116                    }
5087                  }5117                  }
5088                  container loopback {5118                  container loopback {
5089                    description5119                    description
5090                      "OSPF loopback configuration";5120                      "OSPF loopback configuration";
5091                    container stub-network {5121                    container stub-network {
5092                      description5122                      description
5093                        "Advertise loopback as a stub network";5123                        "Advertise loopback as a stub network";
5094                      container enable {5124                      container enable {
5095                        must "not(../disable)";5125                        must "not(../disable)";
5096                        presence "Indicates a enable node is configured.";5126                        presence "Indicates a enable node is configured.";
5097                        description5127                        description
5098                          "Enable advertising loopback as a stub network";5128                          "Enable advertising loopback as a stub network";
5099                      }5129                      }
5100                      container disable {5130                      container disable {
5101                        must "not(../enable)";5131                        must "not(../enable)";
5102                        presence "Indicates a disable node is configured.";5132                        presence "Indicates a disable node is configured.";
5103                        description5133                        description
5104                          "Disable advertising loopback as a stub network";5134                          "Disable advertising loopback as a stub network";
5105                      }5135                      }
5106                    }5136                    }
5107                  }5137                  }
5108                  container link-down {5138                  container link-down {
5109                    description5139                    description
5110                      "Configure interface down parameters";5140                      "Configure interface down parameters";
5111                    container fast-detect {5141                    container fast-detect {
5112                      presence "Indicates a fast-detect node is configured.";5142                      presence "Indicates a fast-detect node is configured.";
5113                      description5143                      description
5114                        "Enable fast or early detection of link-down events";5144                        "Enable fast or early detection of link-down events";
5115                      container disable {5145                      container disable {
5116                        presence "Indicates a disable node is configured.";5146                        presence "Indicates a disable node is configured.";
5117                        description5147                        description
5118                          "Disable fast or early detection of link-down events";5148                          "Disable fast or early detection of link-down events";
5119                      }5149                      }
5120                    }5150                    }
5121                  }5151                  }
5122                  container prefix-sid {5152                  container prefix-sid {
5123                    when "../interface-name[starts-with(text(),'Loopback')]" {5153                    when "../interface-name[starts-with(text(),'Loopback')]" {
5124                      tailf:dependency "../interface-name";5154                      tailf:dependency "../interface-name";
5125                    }5155                    }
5126                    description5156                    description
5127                      "Prefix SID Configuration";5157                      "Prefix SID Configuration";
5128                    container index {5158                    container index {
5129                      presence "Indicates a index node is configured.";5159                      presence "Indicates a index node is configured.";
5130                      description5160                      description
5131                        "SID Index";5161                        "SID Index";
5132                      leaf sid-index {5162                      leaf sid-index {
5133                        type uint32 {5163                        type uint32 {
5134                          range "0..1048575" {5164                          range "0..1048575" {
5135                            description5165                            description
5136                              "SID Index";5166                              "SID Index";
5137                          }5167                          }
5138                        }5168                        }
5139                        mandatory true;5169                        mandatory true;
5140                        description5170                        description
5141                          "SID Index";5171                          "SID Index";
5142                      }5172                      }
5143                      container explicit-null {5173                      container explicit-null {
5144                        presence "Indicates a explicit-null node is configured.";5174                        presence "Indicates a explicit-null node is configured.";
5145                        description5175                        description
5146                          "Force penultimate hop to send explicit-null label";5176                          "Force penultimate hop to send explicit-null label";
5147                      }5177                      }
5148                      container n-flag-clear {5178                      container n-flag-clear {
5149                        presence "Indicates a n-flag-clear node is configured.";5179                        presence "Indicates a n-flag-clear node is configured.";
5150                        description5180                        description
5151                          "Not a node SID (e.g. for anycast SID use)";5181                          "Not a node SID (e.g. for anycast SID use)";
5152                      }5182                      }
5153                    }5183                    }
5154                    container absolute {5184                    container absolute {
5155                      presence "Indicates a absolute node is configured.";5185                      presence "Indicates a absolute node is configured.";
5156                      description5186                      description
5157                        "SID value";5187                        "SID value";
5158                      leaf sid-label {5188                      leaf sid-label {
5159                        type uint32 {5189                        type uint32 {
5160                          range "16000..1048575" {5190                          range "16000..1048575" {
5161                            description5191                            description
5162                              "SID label";5192                              "SID label";
5163                          }5193                          }
5164                        }5194                        }
5165                        mandatory true;5195                        mandatory true;
5166                        description5196                        description
5167                          "SID value";5197                          "SID value";
5168                      }5198                      }
5169                      container explicit-null {5199                      container explicit-null {
5170                        presence "Indicates a explicit-null node is configured.";5200                        presence "Indicates a explicit-null node is configured.";
5171                        description5201                        description
5172                          "Force penultimate hop to send explicit-null label";5202                          "Force penultimate hop to send explicit-null label";
5173                      }5203                      }
5174                      container n-flag-clear {5204                      container n-flag-clear {
5175                        presence "Indicates a n-flag-clear node is configured.";5205                        presence "Indicates a n-flag-clear node is configured.";
5176                        description5206                        description
5177                          "Not a node SID (e.g. for anycast SID use)";5207                          "Not a node SID (e.g. for anycast SID use)";
5178                      }5208                      }
5179                    }5209                    }
5180                    container strict-spf {5210                    container strict-spf {
5181                      description5211                      description
5182                        "Strict-SPF Prefix SID Configuration";5212                        "Strict-SPF Prefix SID Configuration";
5183                      container index {5213                      container index {
5184                        must "not(../absolute)";5214                        must "not(../absolute)";
5185                        presence "Indicates a index node is configured.";5215                        presence "Indicates a index node is configured.";
5186                        description5216                        description
5187                          "SID Index";5217                          "SID Index";
5188                        leaf sid-index {5218                        leaf sid-index {
5189                          type uint32 {5219                          type uint32 {
5190                            range "0..1048575" {5220                            range "0..1048575" {
5191                              description5221                              description
5192                                "SID Index";5222                                "SID Index";
5193                            }5223                            }
5194                          }5224                          }
5195                          mandatory true;5225                          mandatory true;
5196                          description5226                          description
5197                            "SID Index";5227                            "SID Index";
5198                        }5228                        }
5199                        container explicit-null {5229                        container explicit-null {
5200                          presence "Indicates a explicit-null node is configured.";5230                          presence "Indicates a explicit-null node is configured.";
5201                          description5231                          description
5202                            "Force penultimate hop to send explicit-null label";5232                            "Force penultimate hop to send explicit-null label";
5203                        }5233                        }
5204                        container n-flag-clear {5234                        container n-flag-clear {
5205                          presence "Indicates a n-flag-clear node is configured.";5235                          presence "Indicates a n-flag-clear node is configured.";
5206                          description5236                          description
5207                            "Not a node SID (e.g. for anycast SID use)";5237                            "Not a node SID (e.g. for anycast SID use)";
5208                        }5238                        }
5209                      }5239                      }
5210                      container absolute {5240                      container absolute {
5211                        must "not(../index)";5241                        must "not(../index)";
5212                        presence "Indicates a absolute node is configured.";5242                        presence "Indicates a absolute node is configured.";
5213                        description5243                        description
5214                          "SID value";5244                          "SID value";
5215                        leaf sid-label {5245                        leaf sid-label {
5216                          type uint32 {5246                          type uint32 {
5217                            range "16000..1048575" {5247                            range "16000..1048575" {
5218                              description5248                              description
5219                                "SID label";5249                                "SID label";
5220                            }5250                            }
5221                          }5251                          }
5222                          mandatory true;5252                          mandatory true;
5223                          description5253                          description
5224                            "SID value";5254                            "SID value";
5225                        }5255                        }
5226                        container explicit-null {5256                        container explicit-null {
5227                          presence "Indicates a explicit-null node is configured.";5257                          presence "Indicates a explicit-null node is configured.";
5228                          description5258                          description
5229                            "Force penultimate hop to send explicit-null label";5259                            "Force penultimate hop to send explicit-null label";
5230                        }5260                        }
5231                        container n-flag-clear {5261                        container n-flag-clear {
5232                          presence "Indicates a n-flag-clear node is configured.";5262                          presence "Indicates a n-flag-clear node is configured.";
5233                          description5263                          description
5234                            "Not a node SID (e.g. for anycast SID use)";5264                            "Not a node SID (e.g. for anycast SID use)";
5235                        }5265                        }
5236                      }5266                      }
5237                    }5267                    }
5238                    container algorithms {5268                    container algorithms {
5239                      description5269                      description
5240                        "Algorithm Specific Prefix SID Configuration";5270                        "Algorithm Specific Prefix SID Configuration";
5241                      list algorithm {5271                      list algorithm {
5242                        must "index or absolute";5272                        must "index or absolute";
5243                        key "algorithm-number";5273                        key "algorithm-number";
5244                        description5274                        description
5245                          "Algorithm Specific Prefix SID Configuration";5275                          "Algorithm Specific Prefix SID Configuration";
5246                        leaf algorithm-number {5276                        leaf algorithm-number {
5247                          type uint32 {5277                          type uint32 {
5248                            range "128..255" {5278                            range "128..255" {
5249                              description5279                              description
5250                                "Algorithm number";5280                                "Algorithm number";
5251                            }5281                            }
5252                          }5282                          }
5253                          description5283                          description
5254                            "Algorithm Specific Prefix SID Configuration";5284                            "Algorithm Specific Prefix SID Configuration";
5255                        }5285                        }
5256                        container index {5286                        container index {
5257                          presence "Indicates a index node is configured.";5287                          presence "Indicates a index node is configured.";
5258                          description5288                          description
5259                            "SID Index";5289                            "SID Index";
5260                          leaf sid-index {5290                          leaf sid-index {
5261                            type uint32 {5291                            type uint32 {
5262                              range "0..1048575" {5292                              range "0..1048575" {
5263                                description5293                                description
5264                                  "SID Index";5294                                  "SID Index";
5265                              }5295                              }
5266                            }5296                            }
5267                            mandatory true;5297                            mandatory true;
5268                            description5298                            description
5269                              "SID Index";5299                              "SID Index";
5270                          }5300                          }
5271                          container explicit-null {5301                          container explicit-null {
5272                            presence "Indicates a explicit-null node is configured.";5302                            presence "Indicates a explicit-null node is configured.";
5273                            description5303                            description
5274                              "Force penultimate hop to send explicit-null label";5304                              "Force penultimate hop to send explicit-null label";
5275                          }5305                          }
5276                          container n-flag-clear {5306                          container n-flag-clear {
5277                            presence "Indicates a n-flag-clear node is configured.";5307                            presence "Indicates a n-flag-clear node is configured.";
5278                            description5308                            description
5279                              "Not a node SID (e.g. for anycast SID use)";5309                              "Not a node SID (e.g. for anycast SID use)";
5280                          }5310                          }
5281                        }5311                        }
5282                        container absolute {5312                        container absolute {
5283                          presence "Indicates a absolute node is configured.";5313                          presence "Indicates a absolute node is configured.";
5284                          description5314                          description
5285                            "SID value";5315                            "SID value";
5286                          leaf sid-label {5316                          leaf sid-label {
5287                            type uint32 {5317                            type uint32 {
5288                              range "16000..1048575" {5318                              range "16000..1048575" {
5289                                description5319                                description
5290                                  "SID label";5320                                  "SID label";
5291                              }5321                              }
5292                            }5322                            }
5293                            mandatory true;5323                            mandatory true;
5294                            description5324                            description
5295                              "SID value";5325                              "SID value";
5296                          }5326                          }
5297                          container explicit-null {5327                          container explicit-null {
5298                            presence "Indicates a explicit-null node is configured.";5328                            presence "Indicates a explicit-null node is configured.";
5299                            description5329                            description
5300                              "Force penultimate hop to send explicit-null label";5330                              "Force penultimate hop to send explicit-null label";
5301                          }5331                          }
5302                          container n-flag-clear {5332                          container n-flag-clear {
5303                            presence "Indicates a n-flag-clear node is configured.";5333                            presence "Indicates a n-flag-clear node is configured.";
5304                            description5334                            description
5305                              "Not a node SID (e.g. for anycast SID use)";5335                              "Not a node SID (e.g. for anycast SID use)";
5306                          }5336                          }
5307                        }5337                        }
5308                      }5338                      }
5309                    }5339                    }
5310                  }5340                  }
5311                  container segment-routing {5341                  container segment-routing {
5312                    description5342                    description
5313                      "Configure Segment-routing interface parameters";5343                      "Configure Segment-routing interface parameters";
5314                    container forwarding {5344                    container forwarding {
5315                      description5345                      description
5316                        "Enable Segment-routing forwarding on interfaces";5346                        "Enable Segment-routing forwarding on interfaces";
5317                      container mpls {5347                      container mpls {
5318                        must "not(../disable)";5348                        must "not(../disable)";
5319                        presence "Indicates a mpls node is configured.";5349                        presence "Indicates a mpls node is configured.";
5320                        description5350                        description
5321                          "Use MPLS for Segment-routing forwarding";5351                          "Use MPLS for Segment-routing forwarding";
5322                      }5352                      }
5323                      container disable {5353                      container disable {
5324                        must "not(../mpls)";5354                        must "not(../mpls)";
5325                        presence "Indicates a disable node is configured.";5355                        presence "Indicates a disable node is configured.";
5326                        description5356                        description
5327                          "Disable Segment-routing on interface";5357                          "Disable Segment-routing on interface";
5328                      }5358                      }
5329                    }5359                    }
5330                  }5360                  }
5331                  container adjacency-sid {5361                  container adjacency-sid {
5332                    description5362                    description
5333                      "Adjacency SID Configuration";5363                      "Adjacency SID Configuration";
5334                    container indexes {5364                    container indexes {
5335                      description5365                      description
5336                        "SID Index";5366                        "SID Index";
5337                      list index {5367                      list index {
5338                        key "sid-index";5368                        key "sid-index";
5339                        description5369                        description
5340                          "SID Index";5370                          "SID Index";
5341                        leaf sid-index {5371                        leaf sid-index {
5342                          type uint32 {5372                          type uint32 {
5343                            range "0..1048575" {5373                            range "0..1048575" {
5344                              description5374                              description
5345                                "SID Index";5375                                "SID Index";
5346                            }5376                            }
5347                          }5377                          }
5348                          description5378                          description
5349                            "SID Index";5379                            "SID Index";
5350                        }5380                        }
5351                        container protected {5381                        container protected {
5352                          presence "Indicates a protected node is configured.";5382                          presence "Indicates a protected node is configured.";
5353                          description5383                          description
5354                            "Protect the static adjacency SID";5384                            "Protect the static adjacency SID";
5355                        }5385                        }
5356                        leaf neighbor-address {5386                        leaf neighbor-address {
5357                          type inet:ipv4-address-no-zone;5387                          type inet:ipv4-address-no-zone;
5358                          description5388                          description
5359                            "Provide Neighbor IP address associated with this SID";5389                            "Provide Neighbor IP address associated with this SID";
5360                        }5390                        }
5361                      }5391                      }
5362                    }5392                    }
5363                    container absolutes {5393                    container absolutes {
5364                      description5394                      description
5365                        "SID value";5395                        "SID value";
5366                      list absolute {5396                      list absolute {
5367                        key "sid-value";5397                        key "sid-value";
5368                        description5398                        description
5369                          "SID value";5399                          "SID value";
5370                        leaf sid-value {5400                        leaf sid-value {
5371                          type uint32 {5401                          type uint32 {
5372                            range "15000..1048575" {5402                            range "15000..1048575" {
5373                              description5403                              description
5374                                "SID label";5404                                "SID label";
5375                            }5405                            }
5376                          }5406                          }
5377                          description5407                          description
5378                            "SID value";5408                            "SID value";
5379                        }5409                        }
5380                        container protected {5410                        container protected {
5381                          presence "Indicates a protected node is configured.";5411                          presence "Indicates a protected node is configured.";
5382                          description5412                          description
5383                            "Protect the static adjacency SID";5413                            "Protect the static adjacency SID";
5384                        }5414                        }
5385                        leaf neighbor-address {5415                        leaf neighbor-address {
5386                          type inet:ipv4-address-no-zone;5416                          type inet:ipv4-address-no-zone;
5387                          description5417                          description
5388                            "Provide Neighbor IP address associated with this SID";5418                            "Provide Neighbor IP address associated with this SID";
5389                        }5419                        }
5390                      }5420                      }
5391                    }5421                    }
5392                  }5422                  }
5393                  leaf weight {5423                  leaf weight {
5394                    type uint32 {5424                    type uint32 {
5395                      range "1..16777214" {5425                      range "1..16777214" {
5396                        description5426                        description
5397                          "Weight value";5427                          "Weight value";
5398                      }5428                      }
5399                    }5429                    }
5400                    description5430                    description
5401                      "Interface weight";5431                      "Interface weight";
5402                  }5432                  }
5403                  container advertise {5433                  container advertise {
5404                    when "../interface-name[starts-with(text(),'Loopback')]" {5434                    when "../interface-name[starts-with(text(),'Loopback')]" {
5405                      tailf:dependency "../interface-name";5435                      tailf:dependency "../interface-name";
5406                    }5436                    }
5407                    description5437                    description
5408                      "Conditionally advertise";5438                      "Conditionally advertise";
5409                    container prefix {5439                    container prefix {
5410                      description5440                      description
5411                        "Conditionally advertise this prefix";5441                        "Conditionally advertise this prefix";
5412                      leaf route-policy {5442                      leaf route-policy {
5413                        type xr:Route-policy-name;5443                        type xr:Route-policy-name;
5414                        description5444                        description
5415                          "Specify the route-policy for conditional advertising";5445                          "Specify the route-policy for conditional advertising";
5416                      }5446                      }
5417                    }5447                    }
5418                  }5448                  }
5419                  container delay {5449                  container delay {
5420                    description5450                    description
5421                      "Delay configuration setting";5451                      "Delay configuration setting";
5422                    container normalize {5452                    container normalize {
5423                      description5453                      description
5424                        "Delay normalization setting";5454                        "Delay normalization setting";
5425                      leaf interval {5455                      leaf interval {
5426                        type uint32 {5456                        type uint32 {
5427                          range "1..16777215" {5457                          range "1..16777215" {
5428                            description5458                            description
5429                              "Value in microseconds";5459                              "Value in microseconds";
5430                          }5460                          }
5431                        }5461                        }
5432                        must "../offset";5462                        must "../offset";
5433                        description5463                        description
5434                          "Normalization interval";5464                          "Normalization interval";
5435                      }5465                      }
5436                      leaf offset {5466                      leaf offset {
5437                        type uint32 {5467                        type uint32 {
5438                          range "0..16777215" {5468                          range "0..16777215" {
5439                            description5469                            description
5440                              "Value in microseconds";5470                              "Value in microseconds";
5441                          }5471                          }
5442                        }5472                        }
5443                        must "../interval";5473                        must "../interval";
5444                        description5474                        description
5445                          "Normalization offset";5475                          "Normalization offset";
5446                      }5476                      }
5447                    }5477                    }
5448                  }5478                  }
5449                }5479                }
5450              }5480              }
5451              container authentication-key {5481              container authentication-key {
5452                description5482                description
5453                  "Authentication password (key)";5483                  "Authentication password (key)";
5454                leaf encrypted {5484                leaf encrypted {
5455                  type xr:Proprietary-password;5485                  type xr:Proprietary-password;
5456                  description5486                  description
5457                    "Specifies an ENCRYPTED password (key) will follow";5487                    "Specifies an ENCRYPTED password (key) will follow";
5458                }5488                }
5459              }5489              }
5460              container message-digest-keys {5490              container message-digest-keys {
5461                description5491                description
5462                  "Message digest authentication password (key)";5492                  "Message digest authentication password (key)";
5463                list message-digest-key {5493                list message-digest-key {
5464                  key "message-digest-key-id";5494                  key "message-digest-key-id";
5465                  description5495                  description
5466                    "Message digest authentication password (key)";5496                    "Message digest authentication password (key)";
5467                  leaf message-digest-key-id {5497                  leaf message-digest-key-id {
5468                    type uint32 {5498                    type uint32 {
5469                      range "1..255" {5499                      range "1..255" {
5470                        description5500                        description
5471                          "Key ID";5501                          "Key ID";
5472                      }5502                      }
5473                    }5503                    }
5474                    description5504                    description
5475                      "Message digest authentication password (key)";5505                      "Message digest authentication password (key)";
5476                  }5506                  }
5477                  container md5 {5507                  container md5 {
5478                    description5508                    description
5479                      "Use MD5 algorithm";5509                      "Use MD5 algorithm";
5480                    leaf encrypted {5510                    leaf encrypted {
5481                      type xr:Proprietary-password;5511                      type xr:Proprietary-password;
5482                      description5512                      description
5483                        "Specifies an ENCRYPTED password (key) will follow";5513                        "Specifies an ENCRYPTED password (key) will follow";
5484                    }5514                    }
5485                  }5515                  }
5486                }5516                }
5487              }5517              }
5488              container authentication {5518              container authentication {
5489                presence "Indicates a authentication node is configured.";5519                presence "Indicates a authentication node is configured.";
5490                description5520                description
5491                  "Enable authentication";5521                  "Enable authentication";
5492                container message-digest {5522                container message-digest {
5493                  must "not(../null or ../keychain)";5523                  must "not(../null or ../keychain)";
5494                  presence "Indicates a message-digest node is configured.";5524                  presence "Indicates a message-digest node is configured.";
5495                  description5525                  description
5496                    "Use message-digest authentication";5526                    "Use message-digest authentication";
5497                }5527                }
5498                container keychain {5528                container keychain {
5499                  must "../keychain-name";5529                  must "../keychain-name";
5500                  presence "Indicates a keychain node is configured.";5530                  presence "Indicates a keychain node is configured.";
5501                  description5531                  description
5502                    "Use keychain";5532                    "Use keychain";
5503                }5533                }
5504                leaf keychain-name {5534                leaf keychain-name {
5505                  type string {5535                  type string {
5506                    length "1..32" {5536                    length "1..32" {
5507                      description5537                      description
5508                        "The keychain name";5538                        "The keychain name";
5509                    }5539                    }
5510                  }5540                  }
5511                  must "(../message-digest or ../keychain) and not(../null)";5541                  must "(../message-digest or ../keychain) and not(../null)";
5512                  description5542                  description
5513                    "Specify keychain name";5543                    "Specify keychain name";
5514                }5544                }
5515                container null {5545                container null {
5516                  must "not(../message-digest or ../keychain)";5546                  must "not(../message-digest or ../keychain)";
5517                  presence "Indicates a null node is configured.";5547                  presence "Indicates a null node is configured.";
5518                  description5548                  description
5519                    "Use no authentication";5549                    "Use no authentication";
5520                }5550                }
5521              }5551              }
5522              container network {5552              container network {
5523                description5553                description
5524                  "Network type";5554                  "Network type";
5525                container broadcast {5555                container broadcast {
5526                  presence "Indicates a broadcast node is configured.";5556                  presence "Indicates a broadcast node is configured.";
5527                  description5557                  description
5528                    "Specify OSPF broadcast multi-access network";5558                    "Specify OSPF broadcast multi-access network";
5529                }5559                }
5530                container non-broadcast {5560                container non-broadcast {
5531                  presence "Indicates a non-broadcast node is configured.";5561                  presence "Indicates a non-broadcast node is configured.";
5532                  description5562                  description
5533                    "Specify OSPF NBMA network";5563                    "Specify OSPF NBMA network";
5534                }5564                }
5535                container point-to-point {5565                container point-to-point {
5536                  presence "Indicates a point-to-point node is configured.";5566                  presence "Indicates a point-to-point node is configured.";
5537                  description5567                  description
5538                    "Specify OSPF point-to-point network";5568                    "Specify OSPF point-to-point network";
5539                }5569                }
5540                container point-to-multipoint {5570                container point-to-multipoint {
5541                  presence "Indicates a point-to-multipoint node is configured.";5571                  presence "Indicates a point-to-multipoint node is configured.";
5542                  description5572                  description
5543                    "Specify OSPF point-to-multipoint network";5573                    "Specify OSPF point-to-multipoint network";
5544                }5574                }
5545              }5575              }
5546              leaf cost {5576              leaf cost {
5547                type uint32 {5577                type uint32 {
5548                  range "1..65535" {5578                  range "1..65535" {
5549                    description5579                    description
5550                      "Cost";5580                      "Cost";
5551                  }5581                  }
5552                }5582                }
5553                description5583                description
5554                  "Interface cost";5584                  "Interface cost";
5555              }5585              }
5556              container cost-fallback {5586              container cost-fallback {
5557                description5587                description
5558                  "Cost fallback when anomaly is detected";5588                  "Cost fallback when anomaly is detected";
5559                container anomaly {5589                container anomaly {
5560                  description5590                  description
5561                    "Penalty when a delay or loss is notified";5591                    "Penalty when a delay or loss is notified";
5562                  container delay {5592                  container delay {
5563                    description5593                    description
5564                      "Penalty when a delay is notified";5594                      "Penalty when a delay is notified";
5565                    container igp-metric {5595                    container igp-metric {
5566                      description5596                      description
5567                        "Penalty on IGP metric";5597                        "Penalty on IGP metric";
5568                      leaf increment {5598                      leaf increment {
5569                        type uint32 {5599                        type uint32 {
5570                          range "1..65534" {5600                          range "1..65534" {
5571                            description5601                            description
5572                              "Increment by this value";5602                              "Increment by this value";
5573                          }5603                          }
5574                        }5604                        }
5575                        must5605                        must
5576                          "not(../multiplier or ../value5606                          "not(../multiplier or ../value
5577                           or ../disable)";5607                           or ../disable)";
5578                        description5608                        description
5579                          "Increment the IGP cost by the specified value";5609                          "Increment the IGP cost by the specified value";
5580                      }5610                      }
5581                      leaf multiplier {5611                      leaf multiplier {
5582                        type uint32 {5612                        type uint32 {
5583                          range "1..255" {5613                          range "1..255" {
5584                            description5614                            description
5585                              "Multiply by this value";5615                              "Multiply by this value";
5586                          }5616                          }
5587                        }5617                        }
5588                        must5618                        must
5589                          "not(../increment or ../value5619                          "not(../increment or ../value
5590                           or ../disable)";5620                           or ../disable)";
5591                        description5621                        description
5592                          "Multiply the IGP cost by the specified value";5622                          "Multiply the IGP cost by the specified value";
5593                      }5623                      }
5594                      leaf value {5624                      leaf value {
5595                        type uint32 {5625                        type uint32 {
5596                          range "1..65535" {5626                          range "1..65535" {
5597                            description5627                            description
5598                              "Set to this value";5628                              "Set to this value";
5599                          }5629                          }
5600                        }5630                        }
5601                        must5631                        must
5602                          "not(../increment or ../multiplier5632                          "not(../increment or ../multiplier
5603                           or ../disable)";5633                           or ../disable)";
5604                        description5634                        description
5605                          "Set the IGP cost to the specified value";5635                          "Set the IGP cost to the specified value";
5606                      }5636                      }
5607                      container disable {5637                      container disable {
5608                        must5638                        must
5609                          "not(../increment or ../multiplier5639                          "not(../increment or ../multiplier
5610                           or ../value)";5640                           or ../value)";
5611                        presence "Indicates a disable node is configured.";5641                        presence "Indicates a disable node is configured.";
5612                        description5642                        description
5613                          "Disable igp-metric";5643                          "Disable igp-metric";
5614                      }5644                      }
5615                    }5645                    }
5616                    container te-metric {5646                    container te-metric {
5617                      description5647                      description
5618                        "Penalty on TE metric";5648                        "Penalty on TE metric";
5619                      leaf increment {5649                      leaf increment {
5620                        type uint32 {5650                        type uint32 {
5621                          range "1..4294967294" {5651                          range "1..4294967294" {
5622                            description5652                            description
5623                              "Increment by this value";5653                              "Increment by this value";
5624                          }5654                          }
5625                        }5655                        }
5626                        must5656                        must
5627                          "not(../multiplier or ../value5657                          "not(../multiplier or ../value
5628                           or ../disable)";5658                           or ../disable)";
5629                        description5659                        description
5630                          "Increment the TE metric by the specified value";5660                          "Increment the TE metric by the specified value";
5631                      }5661                      }
5632                      leaf multiplier {5662                      leaf multiplier {
5633                        type uint32 {5663                        type uint32 {
5634                          range "1..255" {5664                          range "1..255" {
5635                            description5665                            description
5636                              "Multiply by this value";5666                              "Multiply by this value";
5637                          }5667                          }
5638                        }5668                        }
5639                        must5669                        must
5640                          "not(../increment or ../value5670                          "not(../increment or ../value
5641                           or ../disable)";5671                           or ../disable)";
5642                        description5672                        description
5643                          "Multiply the TE metric by the specified value";5673                          "Multiply the TE metric by the specified value";
5644                      }5674                      }
5645                      leaf value {5675                      leaf value {
5646                        type uint32 {5676                        type uint32 {
5647                          range "1..4294967295" {5677                          range "1..4294967295" {
5648                            description5678                            description
5649                              "Set to this value";5679                              "Set to this value";
5650                          }5680                          }
5651                        }5681                        }
5652                        must5682                        must
5653                          "not(../increment or ../multiplier5683                          "not(../increment or ../multiplier
5654                           or ../disable)";5684                           or ../disable)";
5655                        description5685                        description
5656                          "Set the TE cost to the specified value";5686                          "Set the TE cost to the specified value";
5657                      }5687                      }
5658                      container disable {5688                      container disable {
5659                        must5689                        must
5660                          "not(../increment or ../multiplier5690                          "not(../increment or ../multiplier
5661                           or ../value)";5691                           or ../value)";
5662                        presence "Indicates a disable node is configured.";5692                        presence "Indicates a disable node is configured.";
5663                        description5693                        description
5664                          "Disable te-metric";5694                          "Disable te-metric";
5665                      }5695                      }
5666                    }5696                    }
5667                  }5697                  }
5668                }5698                }
5669              }5699              }
5670              leaf hello-interval {5700              leaf hello-interval {
5671                type uint32 {5701                type uint32 {
5672                  range "1..65535" {5702                  range "1..65535" {
5673                    description5703                    description
5674                      "Seconds";5704                      "Seconds";
5675                  }5705                  }
5676                }5706                }
5677                description5707                description
5678                  "Time between HELLO packets";5708                  "Time between HELLO packets";
5679              }5709              }
5680              leaf dead-interval {5710              leaf dead-interval {
5681                type uint32 {5711                type uint32 {
5682                  range "1..65535" {5712                  range "1..65535" {
5683                    description5713                    description
5684                      "Seconds";5714                      "Seconds";
5685                  }5715                  }
5686                }5716                }
5687                must "not(../dead-interval-minimal-hello-multiplier)";5717                must "not(../dead-interval-minimal-hello-multiplier)";
5688                description5718                description
5689                  "Seconds";5719                  "Seconds";
5690              }5720              }
5691              leaf dead-interval-minimal-hello-multiplier {5721              leaf dead-interval-minimal-hello-multiplier {
5692                type uint32 {5722                type uint32 {
5693                  range "3..20" {5723                  range "3..20" {
5694                    description5724                    description
5695                      "Multiplier";5725                      "Multiplier";
5696                  }5726                  }
5697                }5727                }
5698                must "not(../dead-interval)";5728                must "not(../dead-interval)";
5699                description5729                description
5700                  "Set multiplier for Hellos";5730                  "Set multiplier for Hellos";
5701              }5731              }
5702              leaf priority {5732              leaf priority {
5703                type uint32 {5733                type uint32 {
5704                  range "0..255" {5734                  range "0..255" {
5705                    description5735                    description
5706                      "Priority";5736                      "Priority";
5707                  }5737                  }
5708                }5738                }
5709                description5739                description
5710                  "Router priority";5740                  "Router priority";
5711              }5741              }
5712              leaf retransmit-interval {5742              leaf retransmit-interval {
5713                type uint32 {5743                type uint32 {
5714                  range "1..65535" {5744                  range "1..65535" {
5715                    description5745                    description
5716                      "Seconds";5746                      "Seconds";
5717                  }5747                  }
5718                }5748                }
5719                description5749                description
5720                  "Time between retransmitting lost link state advertisements";5750                  "Time between retransmitting lost link state advertisements";
5721              }5751              }
5722              leaf transmit-delay {5752              leaf transmit-delay {
5723                type uint32 {5753                type uint32 {
5724                  range "1..65535" {5754                  range "1..65535" {
5725                    description5755                    description
5726                      "Seconds";5756                      "Seconds";
5727                  }5757                  }
5728                }5758                }
5729                description5759                description
5730                  "Estimated time needed to send link-state update packet";5760                  "Estimated time needed to send link-state update packet";
5731              }5761              }
5732              container flood-reduction {5762              container flood-reduction {
5733                description5763                description
5734                  "OSPF Flood Reduction";5764                  "OSPF Flood Reduction";
5735                container enable {5765                container enable {
5736                  must "not(../disable)";5766                  must "not(../disable)";
5737                  presence "Indicates a enable node is configured.";5767                  presence "Indicates a enable node is configured.";
5738                  description5768                  description
5739                    "Enable flooding reduction";5769                    "Enable flooding reduction";
5740                }5770                }
5741                container disable {5771                container disable {
5742                  must "not(../enable)";5772                  must "not(../enable)";
5743                  presence "Indicates a disable node is configured.";5773                  presence "Indicates a disable node is configured.";
5744                  description5774                  description
5745                    "Disable flooding reduction";5775                    "Disable flooding reduction";
5746                }5776                }
5747              }5777              }
5748              container demand-circuit {5778              container demand-circuit {
5749                description5779                description
5750                  "Enable/Disable demand circuits";5780                  "Enable/Disable demand circuits";
5751                container enable {5781                container enable {
5752                  must "not(../disable)";5782                  must "not(../disable)";
5753                  presence "Indicates a enable node is configured.";5783                  presence "Indicates a enable node is configured.";
5754                  description5784                  description
5755                    "Enable demand circuits";5785                    "Enable demand circuits";
5756                }5786                }
5757                container disable {5787                container disable {
5758                  must "not(../enable)";5788                  must "not(../enable)";
5759                  presence "Indicates a disable node is configured.";5789                  presence "Indicates a disable node is configured.";
5760                  description5790                  description
5761                    "Disable demand circuits";5791                    "Disable demand circuits";
5762                }5792                }
5763              }5793              }
5764              container mtu-ignore {5794              container mtu-ignore {
5765                description5795                description
5766                  "Enable/Disable ignoring of MTU in DBD packets";5796                  "Enable/Disable ignoring of MTU in DBD packets";
5767                container enable {5797                container enable {
5768                  must "not(../disable)";5798                  must "not(../disable)";
5769                  presence "Indicates a enable node is configured.";5799                  presence "Indicates a enable node is configured.";
5770                  description5800                  description
5771                    "Ignores the MTU in DBD packets";5801                    "Ignores the MTU in DBD packets";
5772                }5802                }
5773                container disable {5803                container disable {
5774                  must "not(../enable)";5804                  must "not(../enable)";
5775                  presence "Indicates a disable node is configured.";5805                  presence "Indicates a disable node is configured.";
5776                  description5806                  description
5777                    "Disable ignoring of MTU in DBD packets";5807                    "Disable ignoring of MTU in DBD packets";
5778                }5808                }
5779              }5809              }
5780              container database-filter {5810              container database-filter {
5781                description5811                description
5782                  "Filter OSPF LSA during synchronization and flooding";5812                  "Filter OSPF LSA during synchronization and flooding";
5783                container all {5813                container all {
5784                  description5814                  description
5785                    "Filter all LSA";5815                    "Filter all LSA";
5786                  container out {5816                  container out {
5787                    description5817                    description
5788                      "Outgoing LSA";5818                      "Outgoing LSA";
5789                    container enable {5819                    container enable {
5790                      must "not(../disable)";5820                      must "not(../disable)";
5791                      presence "Indicates a enable node is configured.";5821                      presence "Indicates a enable node is configured.";
5792                      description5822                      description
5793                        "Enable filtering";5823                        "Enable filtering";
5794                    }5824                    }
5795                    container disable {5825                    container disable {
5796                      must "not(../enable)";5826                      must "not(../enable)";
5797                      presence "Indicates a disable node is configured.";5827                      presence "Indicates a disable node is configured.";
5798                      description5828                      description
5799                        "Disable filtering";5829                        "Disable filtering";
5800                    }5830                    }
5801                  }5831                  }
5802                }5832                }
5803              }5833              }
5804              container passive {5834              container passive {
5805                description5835                description
5806                  "Enable/Disable passive";5836                  "Enable/Disable passive";
5807                container enable {5837                container enable {
5808                  must "not(../disable)";5838                  must "not(../disable)";
5809                  presence "Indicates a enable node is configured.";5839                  presence "Indicates a enable node is configured.";
5810                  description5840                  description
5811                    "Enable passive";5841                    "Enable passive";
5812                }5842                }
5813                container disable {5843                container disable {
5814                  must "not(../enable)";5844                  must "not(../enable)";
5815                  presence "Indicates a disable node is configured.";5845                  presence "Indicates a disable node is configured.";
5816                  description5846                  description
5817                    "Disable passive";5847                    "Disable passive";
5818                }5848                }
5819              }5849              }
5820              container distribute-list {5850              container distribute-list {
5821                description5851                description
5822                  "Filter networks in routing updates";5852                  "Filter networks in routing updates";
5823                leaf access-list {5853                leaf access-list {
5824                  type string;5854                  type string;
5825                  must "not(../route-policy)";5855                  must "not(../route-policy)";
5826                  description5856                  description
5827                    "In-bound access-list name.";5857                    "In-bound access-list name.";
5828                }5858                }
5829                leaf route-policy {5859                leaf route-policy {
5830                  type xr:Route-policy-name;5860                  type xr:Route-policy-name;
5831                  must "not(../access-list)";5861                  must "not(../access-list)";
5832                  description5862                  description
5833                    "Route Policy to filter OSPF prefixes";5863                    "Route Policy to filter OSPF prefixes";
5834                }5864                }
5835              }5865              }
5836              leaf packet-size {5866              leaf packet-size {
5837                type uint32 {5867                type uint32 {
5838                  range "576..10000" {5868                  range "576..10000" {
5839                    description5869                    description
5840                      "Size of OSPF packets to use. Min: 576  Max: MTU bytes";5870                      "Size of OSPF packets to use. Min: 576  Max: MTU bytes";
5841                  }5871                  }
5842                }5872                }
5843                description5873                description
5844                  "Customize size of OSPF packets upto MTU";5874                  "Customize size of OSPF packets upto MTU";
5845              }5875              }
5846              container bfd {5876              container bfd {
5847                description5877                description
5848                  "Configure BFD parameters";5878                  "Configure BFD parameters";
5849                container fast-detect {5879                container fast-detect {
5850                  must "not(strict-mode and disable)";5880                  must "not(strict-mode and disable)";
5851                  presence "Indicates a fast-detect node is configured.";5881                  presence "Indicates a fast-detect node is configured.";
5852                  description5882                  description
5853                    "Enable Fast detection";5883                    "Enable Fast detection";
5854                  container strict-mode {5884                  container strict-mode {
5855                    presence "Indicates a strict-mode node is configured.";5885                    presence "Indicates a strict-mode node is configured.";
5856                    description5886                    description
5857                      "Hold down neighbor session until BFD session is up";5887                      "Hold down neighbor session until BFD session is up";
5858                  }5888                  }
5859                  container disable {5889                  container disable {
5860                    presence "Indicates a disable node is configured.";5890                    presence "Indicates a disable node is configured.";
5861                    description5891                    description
5862                      "Prevent bfd settings from being inherited from the parent";5892                      "Prevent bfd settings from being inherited from the parent";
5863                  }5893                  }
5864                }5894                }
5865                leaf minimum-interval {5895                leaf minimum-interval {
5866                  type uint32 {5896                  type uint32 {
5867                    range "3..30000" {5897                    range "3..30000" {
5868                      description5898                      description
5869                        "minimum interval in milli-seconds";5899                        "minimum interval in milli-seconds";
5870                    }5900                    }
5871                  }5901                  }
5872                  description5902                  description
5873                    "Minimum interval";5903                    "Minimum interval";
5874                }5904                }
5875                leaf multiplier {5905                leaf multiplier {
5876                  type uint32 {5906                  type uint32 {
5877                    range "2..50" {5907                    range "2..50" {
5878                      description5908                      description
5879                        "Detect multiplier";5909                        "Detect multiplier";
5880                    }5910                    }
5881                  }5911                  }
5882                  description5912                  description
5883                    "Detect multiplier";5913                    "Detect multiplier";
5884                }5914                }
5885              }5915              }
5886              container security {5916              container security {
5887                description5917                description
5888                  "Enable/Disable security";5918                  "Enable/Disable security";
5889                container ttl {5919                container ttl {
5890                  must "not(hops and disable)";5920                  must "not(hops and disable)";
5891                  presence "Indicates a ttl node is configured.";5921                  presence "Indicates a ttl node is configured.";
5892                  description5922                  description
5893                    "TTL security";5923                    "TTL security";
5894                  leaf hops {5924                  leaf hops {
5895                    type uint32 {5925                    type uint32 {
5896                      range "1..254" {5926                      range "1..254" {
5897                        description5927                        description
5898                          "maximum number of hops allowed";5928                          "maximum number of hops allowed";
5899                      }5929                      }
5900                    }5930                    }
5901                    description5931                    description
5902                      "IP hops";5932                      "IP hops";
5903                  }5933                  }
5904                  container disable {5934                  container disable {
5905                    presence "Indicates a disable node is configured.";5935                    presence "Indicates a disable node is configured.";
5906                    description5936                    description
5907                      "Disable TTL security";5937                      "Disable TTL security";
5908                  }5938                  }
5909                }5939                }
5910              }5940              }
5911              container prefix-suppression {5941              container prefix-suppression {
5912                description5942                description
5913                  "Suppress advertisement of the prefixes";5943                  "Suppress advertisement of the prefixes";
5914                container enable {5944                container enable {
5915                  must "not(../disable)";5945                  must "not(../disable)";
5916                  presence "Indicates a enable node is configured.";5946                  presence "Indicates a enable node is configured.";
5917                  description5947                  description
5918                    "Enable primary address suppression";5948                    "Enable primary address suppression";
5919                }5949                }
5920                container disable {5950                container disable {
5921                  must "not(../enable)";5951                  must "not(../enable)";
5922                  presence "Indicates a disable node is configured.";5952                  presence "Indicates a disable node is configured.";
5923                  description5953                  description
5924                    "Disable primary address suppression";5954                    "Disable primary address suppression";
5925                }5955                }
5926                container secondary-address {5956                container secondary-address {
5927                  description5957                  description
5928                    "Enable/Disable secondary address suppression";5958                    "Enable/Disable secondary address suppression";
5929                  container enable {5959                  container enable {
5930                    must "not(../disable)";5960                    must "not(../disable)";
5931                    presence "Indicates a enable node is configured.";5961                    presence "Indicates a enable node is configured.";
5932                    description5962                    description
5933                      "Enable secondary address suppression";5963                      "Enable secondary address suppression";
5934                  }5964                  }
5935                  container disable {5965                  container disable {
5936                    must "not(../enable)";5966                    must "not(../enable)";
5937                    presence "Indicates a disable node is configured.";5967                    presence "Indicates a disable node is configured.";
5938                    description5968                    description
5939                      "Disable secondary address suppression";5969                      "Disable secondary address suppression";
5940                  }5970                  }
5941                }5971                }
5942              }5972              }
5943              container fast-reroute {5973              container fast-reroute {
5944                description5974                description
5945                  "IP Fast Reroute";5975                  "IP Fast Reroute";
5946                container per-link {5976                container per-link {
5947                  description5977                  description
5948                    "Per-link Computation";5978                    "Per-link Computation";
5949                  container enable {5979                  container enable {
5950                    presence "Indicates a enable node is configured.";5980                    presence "Indicates a enable node is configured.";
5951                    description5981                    description
5952                      "Enable per-link Computation";5982                      "Enable per-link Computation";
5953                  }5983                  }
5954                  container exclude {5984                  container exclude {
5955                    description5985                    description
5956                      "Per-link LFA exclusion information";5986                      "Per-link LFA exclusion information";
5957                    container interfaces {5987                    container interfaces {
5958                      description5988                      description
5959                        "Exclude an interface from Per-link LFA";5989                        "Exclude an interface from Per-link LFA";
5960                      list interface {5990                      list interface {
5961                        key "interface-name";5991                        key "interface-name";
5962                        description5992                        description
5963                          "Exclude an interface from Per-link LFA";5993                          "Exclude an interface from Per-link LFA";
5964                        leaf interface-name {5994                        leaf interface-name {
5965                          type xr:Interface-name;5995                          type xr:Interface-name;
5966                          description5996                          description
5967                            "Exclude an interface from Per-link LFA";5997                            "Exclude an interface from Per-link LFA";
5968                        }5998                        }
5969                      }5999                      }
5970                    }6000                    }
5971                  }6001                  }
5972                  container lfa-candidate {6002                  container lfa-candidate {
5973                    description6003                    description
5974                      "FRR LFA candidate information";6004                      "FRR LFA candidate information";
5975                    container interfaces {6005                    container interfaces {
5976                      description6006                      description
5977                        "Include an interface to LFA candidate in computation";6007                        "Include an interface to LFA candidate in computation";
5978                      list interface {6008                      list interface {
5979                        key "interface-name";6009                        key "interface-name";
5980                        description6010                        description
5981                          "Include an interface to LFA candidate in computation";6011                          "Include an interface to LFA candidate in computation";
5982                        leaf interface-name {6012                        leaf interface-name {
5983                          type xr:Interface-name;6013                          type xr:Interface-name;
5984                          description6014                          description
5985                            "Include an interface to LFA candidate in computation";6015                            "Include an interface to LFA candidate in computation";
5986                        }6016                        }
5987                      }6017                      }
5988                    }6018                    }
5989                  }6019                  }
5990                  container use-candidate-only {6020                  container use-candidate-only {
5991                    description6021                    description
5992                      "Enable/Disable backup selection from candidate-list only";6022                      "Enable/Disable backup selection from candidate-list only";
5993                    container enable {6023                    container enable {
5994                      must "not(../disable)";6024                      must "not(../disable)";
5995                      presence "Indicates a enable node is configured.";6025                      presence "Indicates a enable node is configured.";
5996                      description6026                      description
5997                        "Enable backup selection from candidate-list only";6027                        "Enable backup selection from candidate-list only";
5998                    }6028                    }
5999                    container disable {6029                    container disable {
6000                      must "not(../enable)";6030                      must "not(../enable)";
6001                      presence "Indicates a disable node is configured.";6031                      presence "Indicates a disable node is configured.";
6002                      description6032                      description
6003                        "Disable backup selection from candidate-list only";6033                        "Disable backup selection from candidate-list only";
6004                    }6034                    }
6005                  }6035                  }
6006                }6036                }
6007                container per-prefix {6037                container per-prefix {
6008                  description6038                  description
6009                    "Per-prefix Computation";6039                    "Per-prefix Computation";
6010                  container enable {6040                  container enable {
6011                    presence "Indicates a enable node is configured.";6041                    presence "Indicates a enable node is configured.";
6012                    description6042                    description
6013                      "Enable per-prefix Computation";6043                      "Enable per-prefix Computation";
6014                  }6044                  }
6015                  container exclude {6045                  container exclude {
6016                    description6046                    description
6017                      "Per-prefix LFA exclusion information";6047                      "Per-prefix LFA exclusion information";
6018                    container interfaces {6048                    container interfaces {
6019                      description6049                      description
6020                        "Exclude an interface from Per-prefix LFA";6050                        "Exclude an interface from Per-prefix LFA";
6021                      list interface {6051                      list interface {
6022                        key "interface-name";6052                        key "interface-name";
6023                        description6053                        description
6024                          "Exclude an interface from Per-prefix LFA";6054                          "Exclude an interface from Per-prefix LFA";
6025                        leaf interface-name {6055                        leaf interface-name {
6026                          type xr:Interface-name;6056                          type xr:Interface-name;
6027                          description6057                          description
6028                            "Exclude an interface from Per-prefix LFA";6058                            "Exclude an interface from Per-prefix LFA";
6029                        }6059                        }
6030                      }6060                      }
6031                    }6061                    }
6032                  }6062                  }
6033                  container lfa-candidate {6063                  container lfa-candidate {
6034                    description6064                    description
6035                      "FRR LFA candidate information";6065                      "FRR LFA candidate information";
6036                    container interfaces {6066                    container interfaces {
6037                      description6067                      description
6038                        "Include an interface to LFA candidate in computation";6068                        "Include an interface to LFA candidate in computation";
6039                      list interface {6069                      list interface {
6040                        key "interface-name";6070                        key "interface-name";
6041                        description6071                        description
6042                          "Include an interface to LFA candidate in computation";6072                          "Include an interface to LFA candidate in computation";
6043                        leaf interface-name {6073                        leaf interface-name {
6044                          type xr:Interface-name;6074                          type xr:Interface-name;
6045                          description6075                          description
6046                            "Include an interface to LFA candidate in computation";6076                            "Include an interface to LFA candidate in computation";
6047                        }6077                        }
6048                      }6078                      }
6049                    }6079                    }
6050                  }6080                  }
6051                  container use-candidate-only {6081                  container use-candidate-only {
6052                    description6082                    description
6053                      "Enable/Disable backup selection from candidate-list only";6083                      "Enable/Disable backup selection from candidate-list only";
6054                    container enable {6084                    container enable {
6055                      must "not(../disable)";6085                      must "not(../disable)";
6056                      presence "Indicates a enable node is configured.";6086                      presence "Indicates a enable node is configured.";
6057                      description6087                      description
6058                        "Enable backup selection from candidate-list only";6088                        "Enable backup selection from candidate-list only";
6059                    }6089                    }
6060                    container disable {6090                    container disable {
6061                      must "not(../enable)";6091                      must "not(../enable)";
6062                      presence "Indicates a disable node is configured.";6092                      presence "Indicates a disable node is configured.";
6063                      description6093                      description
6064                        "Disable backup selection from candidate-list only";6094                        "Disable backup selection from candidate-list only";
6065                    }6095                    }
6066                  }6096                  }
6067                  container remote-lfa {6097                  container remote-lfa {
6068                    description6098                    description
6069                      "Remote LFA computation";6099                      "Remote LFA computation";
6070                    container tunnel {6100                    container tunnel {
6071                      description6101                      description
6072                        "Enable remote LFA computation using tunnels";6102                        "Enable remote LFA computation using tunnels";
6073                      container mpls-ldp {6103                      container mpls-ldp {
6074                        must "not(../../disable)";6104                        must "not(../../disable)";
6075                        presence "Indicates a mpls-ldp node is configured.";6105                        presence "Indicates a mpls-ldp node is configured.";
6076                        description6106                        description
6077                          "MPLS LDP tunnel";6107                          "MPLS LDP tunnel";
6078                      }6108                      }
6079                    }6109                    }
6080                    container disable {6110                    container disable {
6081                      must "not(../tunnel/mpls-ldp)";6111                      must "not(../tunnel/mpls-ldp)";
6082                      presence "Indicates a disable node is configured.";6112                      presence "Indicates a disable node is configured.";
6083                      description6113                      description
6084                        "Disable remote LFA computation";6114                        "Disable remote LFA computation";
6085                    }6115                    }
6086                    leaf maximum-cost {6116                    leaf maximum-cost {
6087                      type uint32 {6117                      type uint32 {
6088                        range "1..4294967295" {6118                        range "1..4294967295" {
6089                          description6119                          description
6090                            "Path cost";6120                            "Path cost";
6091                        }6121                        }
6092                      }6122                      }
6093                      description6123                      description
6094                        "Maximum path cost to remote LFA";6124                        "Maximum path cost to remote LFA";
6095                    }6125                    }
6096                  }6126                  }
6097                  container ti-lfa {6127                  container ti-lfa {
6098                    description6128                    description
6099                      "Topology Independent LFA computation";6129                      "Topology Independent LFA computation";
6100                    container enable {6130                    container enable {
6101                      must "not(../disable)";6131                      must "not(../disable)";
6102                      presence "Indicates a enable node is configured.";6132                      presence "Indicates a enable node is configured.";
6103                      description6133                      description
6104                        "Enable TI LFA computation";6134                        "Enable TI LFA computation";
6105                    }6135                    }
6106                    container disable {6136                    container disable {
6107                      must "not(../enable)";6137                      must "not(../enable)";
6108                      presence "Indicates a disable node is configured.";6138                      presence "Indicates a disable node is configured.";
6109                      description6139                      description
6110                        "Disable TI LFA computation";6140                        "Disable TI LFA computation";
6111                    }6141                    }
6112                  }6142                  }
6113                  container tiebreaker {6143                  container tiebreaker {
6114                    description6144                    description
6115                      "Configure tiebreaker for multiple backups";6145                      "Configure tiebreaker for multiple backups";
6116                    container downstream {6146                    container downstream {
6117                      description6147                      description
6118                        "Prefer backup path via downstream node";6148                        "Prefer backup path via downstream node";
6119                      leaf index {6149                      leaf index {
6120                        type uint32 {6150                        type uint32 {
6121                          range "1..255" {6151                          range "1..255" {
6122                            description6152                            description
6123                              "Index";6153                              "Index";
6124                          }6154                          }
6125                        }6155                        }
6126                        must "not(../disable)";6156                        must "not(../disable)";
6127                        description6157                        description
6128                          "Set preference order among tiebreakers";6158                          "Set preference order among tiebreakers";
6129                      }6159                      }
6130                      container disable {6160                      container disable {
6131                        must "not(../index)";6161                        must "not(../index)";
6132                        presence "Indicates a disable node is configured.";6162                        presence "Indicates a disable node is configured.";
6133                        description6163                        description
6134                          "Disable tiebreaker";6164                          "Disable tiebreaker";
6135                      }6165                      }
6136                    }6166                    }
6137                    container lc-disjoint {6167                    container lc-disjoint {
6138                      description6168                      description
6139                        "Prefer line card disjoint backup path";6169                        "Prefer line card disjoint backup path";
6140                      leaf index {6170                      leaf index {
6141                        type uint32 {6171                        type uint32 {
6142                          range "1..255" {6172                          range "1..255" {
6143                            description6173                            description
6144                              "Index";6174                              "Index";
6145                          }6175                          }
6146                        }6176                        }
6147                        must "not(../disable)";6177                        must "not(../disable)";
6148                        description6178                        description
6149                          "Set preference order among tiebreakers";6179                          "Set preference order among tiebreakers";
6150                      }6180                      }
6151                      container disable {6181                      container disable {
6152                        must "not(../index)";6182                        must "not(../index)";
6153                        presence "Indicates a disable node is configured.";6183                        presence "Indicates a disable node is configured.";
6154                        description6184                        description
6155                          "Disable tiebreaker";6185                          "Disable tiebreaker";
6156                      }6186                      }
6157                    }6187                    }
6158                    container lowest-backup-metric {6188                    container lowest-backup-metric {
6159                      description6189                      description
6160                        "Prefer backup path with lowest total metric";6190                        "Prefer backup path with lowest total metric";
6161                      leaf index {6191                      leaf index {
6162                        type uint32 {6192                        type uint32 {
6163                          range "1..255" {6193                          range "1..255" {
6164                            description6194                            description
6165                              "Index";6195                              "Index";
6166                          }6196                          }
6167                        }6197                        }
6168                        must "not(../disable)";6198                        must "not(../disable)";
6169                        description6199                        description
6170                          "Set preference order among tiebreakers";6200                          "Set preference order among tiebreakers";
6171                      }6201                      }
6172                      container disable {6202                      container disable {
6173                        must "not(../index)";6203                        must "not(../index)";
6174                        presence "Indicates a disable node is configured.";6204                        presence "Indicates a disable node is configured.";
6175                        description6205                        description
6176                          "Disable tiebreaker";6206                          "Disable tiebreaker";
6177                      }6207                      }
6178                    }6208                    }
6179                    container node-protecting {6209                    container node-protecting {
6180                      description6210                      description
6181                        "Prefer node protecting backup path";6211                        "Prefer node protecting backup path";
6182                      leaf index {6212                      leaf index {
6183                        type uint32 {6213                        type uint32 {
6184                          range "1..255" {6214                          range "1..255" {
6185                            description6215                            description
6186                              "Index";6216                              "Index";
6187                          }6217                          }
6188                        }6218                        }
6189                        must "not(../disable)";6219                        must "not(../disable)";
6190                        description6220                        description
6191                          "Set preference order among tiebreakers";6221                          "Set preference order among tiebreakers";
6192                      }6222                      }
6193                      container disable {6223                      container disable {
6194                        must "not(../index)";6224                        must "not(../index)";
6195                        presence "Indicates a disable node is configured.";6225                        presence "Indicates a disable node is configured.";
6196                        description6226                        description
6197                          "Disable tiebreaker";6227                          "Disable tiebreaker";
6198                      }6228                      }
6199                    }6229                    }
6200                    container primary-path {6230                    container primary-path {
6201                      description6231                      description
6202                        "Prefer backup path from ECMP set";6232                        "Prefer backup path from ECMP set";
6203                      leaf index {6233                      leaf index {
6204                        type uint32 {6234                        type uint32 {
6205                          range "1..255" {6235                          range "1..255" {
6206                            description6236                            description
6207                              "Index";6237                              "Index";
6208                          }6238                          }
6209                        }6239                        }
6210                        must "not(../disable)";6240                        must "not(../disable)";
6211                        description6241                        description
6212                          "Set preference order among tiebreakers";6242                          "Set preference order among tiebreakers";
6213                      }6243                      }
6214                      container disable {6244                      container disable {
6215                        must "not(../index)";6245                        must "not(../index)";
6216                        presence "Indicates a disable node is configured.";6246                        presence "Indicates a disable node is configured.";
6217                        description6247                        description
6218                          "Disable tiebreaker";6248                          "Disable tiebreaker";
6219                      }6249                      }
6220                    }6250                    }
6221                    container secondary-path {6251                    container secondary-path {
6222                      description6252                      description
6223                        "Prefer non-ECMP backup path";6253                        "Prefer non-ECMP backup path";
6224                      leaf index {6254                      leaf index {
6225                        type uint32 {6255                        type uint32 {
6226                          range "1..255" {6256                          range "1..255" {
6227                            description6257                            description
6228                              "Index";6258                              "Index";
6229                          }6259                          }
6230                        }6260                        }
6231                        must "not(../disable)";6261                        must "not(../disable)";
6232                        description6262                        description
6233                          "Set preference order among tiebreakers";6263                          "Set preference order among tiebreakers";
6234                      }6264                      }
6235                      container disable {6265                      container disable {
6236                        must "not(../index)";6266                        must "not(../index)";
6237                        presence "Indicates a disable node is configured.";6267                        presence "Indicates a disable node is configured.";
6238                        description6268                        description
6239                          "Disable tiebreaker";6269                          "Disable tiebreaker";
6240                      }6270                      }
6241                    }6271                    }
6242                    container interface-disjoint {6272                    container interface-disjoint {
6243                      description6273                      description
6244                        "Prefer Interface disjoint backup path";6274                        "Prefer Interface disjoint backup path";
6245                      leaf index {6275                      leaf index {
6246                        type uint32 {6276                        type uint32 {
6247                          range "1..255" {6277                          range "1..255" {
6248                            description6278                            description
6249                              "Index";6279                              "Index";
6250                          }6280                          }
6251                        }6281                        }
6252                        must "not(../disable)";6282                        must "not(../disable)";
6253                        description6283                        description
6254                          "Set preference order among tiebreakers";6284                          "Set preference order among tiebreakers";
6255                      }6285                      }
6256                      container disable {6286                      container disable {
6257                        must "not(../index)";6287                        must "not(../index)";
6258                        presence "Indicates a disable node is configured.";6288                        presence "Indicates a disable node is configured.";
6259                        description6289                        description
6260                          "Disable tiebreaker";6290                          "Disable tiebreaker";
6261                      }6291                      }
6262                    }6292                    }
6263                    container srlg-disjoint {6293                    container srlg-disjoint {
6264                      description6294                      description
6265                        "Prefer SRLG disjoint backup path";6295                        "Prefer SRLG disjoint backup path";
6266                      leaf index {6296                      leaf index {
6267                        type uint32 {6297                        type uint32 {
6268                          range "1..255" {6298                          range "1..255" {
6269                            description6299                            description
6270                              "Index";6300                              "Index";
6271                          }6301                          }
6272                        }6302                        }
6273                        must "not(../disable)";6303                        must "not(../disable)";
6274                        description6304                        description
6275                          "Set preference order among tiebreakers";6305                          "Set preference order among tiebreakers";
6276                      }6306                      }
6277                      container disable {6307                      container disable {
6278                        must "not(../index)";6308                        must "not(../index)";
6279                        presence "Indicates a disable node is configured.";6309                        presence "Indicates a disable node is configured.";
6280                        description6310                        description
6281                          "Disable tiebreaker";6311                          "Disable tiebreaker";
6282                      }6312                      }
6283                    }6313                    }
6284                  }6314                  }
6285                }6315                }
6286                container disable {6316                container disable {
6287                  presence "Indicates a disable node is configured.";6317                  presence "Indicates a disable node is configured.";
6288                  description6318                  description
6289                    "Disable IP Fast Reroute";6319                    "Disable IP Fast Reroute";
6290                }6320                }
6291              }6321              }
6292              container loopback {6322              container loopback {
6293                description6323                description
6294                  "OSPF loopback configuration";6324                  "OSPF loopback configuration";
6295                container stub-network {6325                container stub-network {
6296                  description6326                  description
6297                    "Advertise loopback as a stub network";6327                    "Advertise loopback as a stub network";
6298                  container enable {6328                  container enable {
6299                    must "not(../disable)";6329                    must "not(../disable)";
6300                    presence "Indicates a enable node is configured.";6330                    presence "Indicates a enable node is configured.";
6301                    description6331                    description
6302                      "Enable advertising loopback as a stub network";6332                      "Enable advertising loopback as a stub network";
6303                  }6333                  }
6304                  container disable {6334                  container disable {
6305                    must "not(../enable)";6335                    must "not(../enable)";
6306                    presence "Indicates a disable node is configured.";6336                    presence "Indicates a disable node is configured.";
6307                    description6337                    description
6308                      "Disable advertising loopback as a stub network";6338                      "Disable advertising loopback as a stub network";
6309                  }6339                  }
6310                }6340                }
6311              }6341              }
6312              container link-down {6342              container link-down {
6313                description6343                description
6314                  "Configure interface down parameters";6344                  "Configure interface down parameters";
6315                container fast-detect {6345                container fast-detect {
6316                  presence "Indicates a fast-detect node is configured.";6346                  presence "Indicates a fast-detect node is configured.";
6317                  description6347                  description
6318                    "Enable fast or early detection of link-down events";6348                    "Enable fast or early detection of link-down events";
6319                  container disable {6349                  container disable {
6320                    presence "Indicates a disable node is configured.";6350                    presence "Indicates a disable node is configured.";
6321                    description6351                    description
6322                      "Disable fast or early detection of link-down events";6352                      "Disable fast or early detection of link-down events";
6323                  }6353                  }
6324                }6354                }
6325              }6355              }
6326              leaf weight {6356              leaf weight {
6327                type uint32 {6357                type uint32 {
6328                  range "1..16777214" {6358                  range "1..16777214" {
6329                    description6359                    description
6330                      "Weight value";6360                      "Weight value";
6331                  }6361                  }
6332                }6362                }
6333                description6363                description
6334                  "Interface weight";6364                  "Interface weight";
6335              }6365              }
6336              container delay {6366              container delay {
6337                description6367                description
6338                  "Delay configuration setting";6368                  "Delay configuration setting";
6339                container normalize {6369                container normalize {
6340                  description6370                  description
6341                    "Delay normalization setting";6371                    "Delay normalization setting";
6342                  leaf interval {6372                  leaf interval {
6343                    type uint32 {6373                    type uint32 {
6344                      range "1..16777215" {6374                      range "1..16777215" {
6345                        description6375                        description
6346                          "Value in microseconds";6376                          "Value in microseconds";
6347                      }6377                      }
6348                    }6378                    }
6349                    must "../offset";6379                    must "../offset";
6350                    description6380                    description
6351                      "Normalization interval";6381                      "Normalization interval";
6352                  }6382                  }
6353                  leaf offset {6383                  leaf offset {
6354                    type uint32 {6384                    type uint32 {
6355                      range "0..16777215" {6385                      range "0..16777215" {
6356                        description6386                        description
6357                          "Value in microseconds";6387                          "Value in microseconds";
6358                      }6388                      }
6359                    }6389                    }
6360                    must "../interval";6390                    must "../interval";
6361                    description6391                    description
6362                      "Normalization offset";6392                      "Normalization offset";
6363                  }6393                  }
6364                }6394                }
6365              }6395              }
6366              container virtual-links {6396              container virtual-links {
6367                description6397                description
6368                  "Define a virtual link";6398                  "Define a virtual link";
6369                list virtual-link {6399                list virtual-link {
6370                  key "virtual-link-address";6400                  key "virtual-link-address";
6371                  description6401                  description
6372                    "Define a virtual link";6402                    "Define a virtual link";
6373                  leaf virtual-link-address {6403                  leaf virtual-link-address {
6374                    type inet:ipv4-address-no-zone;6404                    type inet:ipv4-address-no-zone;
6375                    description6405                    description
6376                      "Define a virtual link";6406                      "Define a virtual link";
6377                  }6407                  }
6378                  leaf hello-interval {6408                  leaf hello-interval {
6379                    type uint32 {6409                    type uint32 {
6380                      range "1..65535" {6410                      range "1..65535" {
6381                        description6411                        description
6382                          "Seconds";6412                          "Seconds";
6383                      }6413                      }
6384                    }6414                    }
6385                    description6415                    description
6386                      "Time between HELLO packets";6416                      "Time between HELLO packets";
6387                  }6417                  }
6388                  leaf dead-interval {6418                  leaf dead-interval {
6389                    type uint32 {6419                    type uint32 {
6390                      range "1..65535" {6420                      range "1..65535" {
6391                        description6421                        description
6392                          "Seconds";6422                          "Seconds";
6393                      }6423                      }
6394                    }6424                    }
6395                    must "not(../dead-interval-minimal-hello-multiplier)";6425                    must "not(../dead-interval-minimal-hello-multiplier)";
6396                    description6426                    description
6397                      "Seconds";6427                      "Seconds";
6398                  }6428                  }
6399                  leaf dead-interval-minimal-hello-multiplier {6429                  leaf dead-interval-minimal-hello-multiplier {
6400                    type uint32 {6430                    type uint32 {
6401                      range "3..20" {6431                      range "3..20" {
6402                        description6432                        description
6403                          "Multiplier";6433                          "Multiplier";
6404                      }6434                      }
6405                    }6435                    }
6406                    must "not(../dead-interval)";6436                    must "not(../dead-interval)";
6407                    description6437                    description
6408                      "Set multiplier for Hellos";6438                      "Set multiplier for Hellos";
6409                  }6439                  }
6410                  leaf retransmit-interval {6440                  leaf retransmit-interval {
6411                    type uint32 {6441                    type uint32 {
6412                      range "1..65535" {6442                      range "1..65535" {
6413                        description6443                        description
6414                          "Seconds";6444                          "Seconds";
6415                      }6445                      }
6416                    }6446                    }
6417                    description6447                    description
6418                      "Delay between LSA retransmissions";6448                      "Delay between LSA retransmissions";
6419                  }6449                  }
6420                  leaf transmit-delay {6450                  leaf transmit-delay {
6421                    type uint32 {6451                    type uint32 {
6422                      range "1..65535" {6452                      range "1..65535" {
6423                        description6453                        description
6424                          "Seconds";6454                          "Seconds";
6425                      }6455                      }
6426                    }6456                    }
6427                    description6457                    description
6428                      "Link state transmit delay";6458                      "Link state transmit delay";
6429                  }6459                  }
6430                  container authentication-key {6460                  container authentication-key {
6431                    description6461                    description
6432                      "Authentication password (key)";6462                      "Authentication password (key)";
6433                    leaf encrypted {6463                    leaf encrypted {
6434                      type xr:Proprietary-password;6464                      type xr:Proprietary-password;
6435                      description6465                      description
6436                        "Specifies an ENCRYPTED password (key) will follow";6466                        "Specifies an ENCRYPTED password (key) will follow";
6437                    }6467                    }
6438                  }6468                  }
6439                  container message-digest-keys {6469                  container message-digest-keys {
6440                    description6470                    description
6441                      "Message digest authentication password (key)";6471                      "Message digest authentication password (key)";
6442                    list message-digest-key {6472                    list message-digest-key {
6443                      key "message-digest-key-id";6473                      key "message-digest-key-id";
6444                      description6474                      description
6445                        "Message digest authentication password (key)";6475                        "Message digest authentication password (key)";
6446                      leaf message-digest-key-id {6476                      leaf message-digest-key-id {
6447                        type uint32 {6477                        type uint32 {
6448                          range "1..255" {6478                          range "1..255" {
6449                            description6479                            description
6450                              "Key ID";6480                              "Key ID";
6451                          }6481                          }
6452                        }6482                        }
6453                        description6483                        description
6454                          "Message digest authentication password (key)";6484                          "Message digest authentication password (key)";
6455                      }6485                      }
6456                      container md5 {6486                      container md5 {
6457                        description6487                        description
6458                          "Use MD5 algorithm";6488                          "Use MD5 algorithm";
6459                        leaf encrypted {6489                        leaf encrypted {
6460                          type xr:Proprietary-password;6490                          type xr:Proprietary-password;
6461                          description6491                          description
6462                            "Specifies an ENCRYPTED password (key) will follow";6492                            "Specifies an ENCRYPTED password (key) will follow";
6463                        }6493                        }
6464                      }6494                      }
6465                    }6495                    }
6466                  }6496                  }
6467                  container authentication {6497                  container authentication {
6468                    presence "Indicates a authentication node is configured.";6498                    presence "Indicates a authentication node is configured.";
6469                    description6499                    description
6470                      "Enable authentication";6500                      "Enable authentication";
6471                    container message-digest {6501                    container message-digest {
6472                      must "not(../null or ../keychain)";6502                      must "not(../null or ../keychain)";
6473                      presence "Indicates a message-digest node is configured.";6503                      presence "Indicates a message-digest node is configured.";
6474                      description6504                      description
6475                        "Use message-digest authentication";6505                        "Use message-digest authentication";
6476                    }6506                    }
6477                    container keychain {6507                    container keychain {
6478                      must "../keychain-name";6508                      must "../keychain-name";
6479                      presence "Indicates a keychain node is configured.";6509                      presence "Indicates a keychain node is configured.";
6480                      description6510                      description
6481                        "Use keychain";6511                        "Use keychain";
6482                    }6512                    }
6483                    leaf keychain-name {6513                    leaf keychain-name {
6484                      type string {6514                      type string {
6485                        length "1..32" {6515                        length "1..32" {
6486                          description6516                          description
6487                            "The keychain name";6517                            "The keychain name";
6488                        }6518                        }
6489                      }6519                      }
6490                      must "(../message-digest or ../keychain) and not(../null)";6520                      must "(../message-digest or ../keychain) and not(../null)";
6491                      description6521                      description
6492                        "Specify keychain name";6522                        "Specify keychain name";
6493                    }6523                    }
6494                    container null {6524                    container null {
6495                      must "not(../message-digest or ../keychain)";6525                      must "not(../message-digest or ../keychain)";
6496                      presence "Indicates a null node is configured.";6526                      presence "Indicates a null node is configured.";
6497                      description6527                      description
6498                        "Use no authentication";6528                        "Use no authentication";
6499                    }6529                    }
6500                  }6530                  }
6501                }6531                }
6502              }6532              }
6503            }6533            }
6504          }6534          }
6505          container segment-routing {6535          container segment-routing {
6506            description6536            description
6507              "Segment Routing configuration";6537              "Segment Routing configuration";
6508            container global-block {6538            container global-block {
6509              presence "Indicates a global-block node is configured.";6539              presence "Indicates a global-block node is configured.";
6510              description6540              description
6511                "MPLS label range for SID allocation";6541                "MPLS label range for SID allocation";
6512              leaf minimum-mpls-label {6542              leaf minimum-mpls-label {
6513                type uint32 {6543                type uint32 {
6514                  range "16000..1048575" {6544                  range "16000..1048575" {
6515                    description6545                    description
6516                      "Minimum MPLS label value for Segment Routing";6546                      "Minimum MPLS label value for Segment Routing";
6517                  }6547                  }
6518                }6548                }
6519                mandatory true;6549                mandatory true;
6520                description6550                description
6521                  "MPLS label range for SID allocation";6551                  "MPLS label range for SID allocation";
6522              }6552              }
6523              leaf maximum-mpls-label {6553              leaf maximum-mpls-label {
6524                type uint32 {6554                type uint32 {
6525                  range "1..1048575" {6555                  range "1..1048575" {
6526                    description6556                    description
6527                      "Maximum MPLS label value for Segment Routing";6557                      "Maximum MPLS label value for Segment Routing";
6528                  }6558                  }
6529                }6559                }
6530                mandatory true;6560                mandatory true;
6531                description6561                description
6532                  "Maximum MPLS label value for Segment Routing";6562                  "Maximum MPLS label value for Segment Routing";
6533              }6563              }
6534            }6564            }
6535            container prefix-sid-map {6565            container prefix-sid-map {
6536              description6566              description
6537                "Configuring segment routing mapping server";6567                "Configuring segment routing mapping server";
6538              container advertise-local {6568              container advertise-local {
6539                presence "Indicates a advertise-local node is configured.";6569                presence "Indicates a advertise-local node is configured.";
6540                description6570                description
6541                  "Advertise and use local mapping server entries";6571                  "Advertise and use local mapping server entries";
6542              }6572              }
6543              container receive {6573              container receive {
6544                description6574                description
6545                  "Control the usage of remote mapping server advertisements";6575                  "Control the usage of remote mapping server advertisements";
6546                container disable {6576                container disable {
6547                  presence "Indicates a disable node is configured.";6577                  presence "Indicates a disable node is configured.";
6548                  description6578                  description
6549                    "Disable the usage of remote mapping server advertisements";6579                    "Disable the usage of remote mapping server advertisements";
6550                }6580                }
6551              }6581              }
6552            }6582            }
6553            container sr-prefer {6583            container sr-prefer {
6554              presence "Indicates a sr-prefer node is configured.";6584              presence "Indicates a sr-prefer node is configured.";
6555              description6585              description
6556                "Prefer segment routing labels over LDP labels";6586                "Prefer segment routing labels over LDP labels";
6557              leaf prefix-list {6587              leaf prefix-list {
6558                type string {6588                type string {
6559                  length "1..1024" {6589                  length "1..1024" {
6560                    description6590                    description
6561                      "Prefix-list name";6591                      "Prefix-list name";
6562                  }6592                  }
6563                }6593                }
6564                description6594                description
6565                  "Filter prefixes for which SR preference is applied";6595                  "Filter prefixes for which SR preference is applied";
6566              }6596              }
6567            }6597            }
6568            container forwarding {6598            container forwarding {
6569              must "mpls or disable";6599              must "mpls or disable";
6570              presence "Indicates a forwarding node is configured.";6600              presence "Indicates a forwarding node is configured.";
6571              description6601              description
6572                "Enable Segment-routing forwarding on interfaces";6602                "Enable Segment-routing forwarding on interfaces";
6573              container mpls {6603              container mpls {
6574                presence "Indicates a mpls node is configured.";6604                presence "Indicates a mpls node is configured.";
6575                description6605                description
6576                  "Use MPLS for Segment-routing forwarding";6606                  "Use MPLS for Segment-routing forwarding";
6577              }6607              }
6578              container disable {6608              container disable {
6579                presence "Indicates a disable node is configured.";6609                presence "Indicates a disable node is configured.";
6580                description6610                description
6581                  "Disable Segment-routing on process interfaces";6611                  "Disable Segment-routing on process interfaces";
6582              }6612              }
6583            }6613            }
6584            container mpls {6614            container mpls {
6585              must "not(../disable)";6615              must "not(../disable)";
6586              presence "Indicates a mpls node is configured.";6616              presence "Indicates a mpls node is configured.";
6587              description6617              description
6588                "SR using MPLS dataplane";6618                "SR using MPLS dataplane";
6589            }6619            }
6590            container disable {6620            container disable {
6591              must "not(../mpls)";6621              must "not(../mpls)";
6592              presence "Indicates a disable node is configured.";6622              presence "Indicates a disable node is configured.";
6593              description6623              description
6594                "Disable Segment Routing ";6624                "Disable Segment Routing ";
6595            }6625            }
6596          }6626          }
6597          container affinity-map {6627          container affinity-map {
6598            description6628            description
6599              "Affinity map configuration";6629              "Affinity map configuration";
6600            container affinity-attributes {6630            container affinity-attributes {
6601              description6631              description
6602                "Affinity attribute name";6632                "Affinity attribute name";
6603              list affinity-attribute {6633              list affinity-attribute {
6604                key "affinity-attribute-name";6634                key "affinity-attribute-name";
6605                description6635                description
6606                  "Affinity attribute name";6636                  "Affinity attribute name";
6607                leaf affinity-attribute-name {6637                leaf affinity-attribute-name {
6608                  type string {6638                  type string {
6609                    length "1..32" {6639                    length "1..32" {
6610                      description6640                      description
6611                        "Affinity attribute name";6641                        "Affinity attribute name";
6612                    }6642                    }
6613                  }6643                  }
6614                  description6644                  description
6615                    "Affinity attribute name";6645                    "Affinity attribute name";
6616                }6646                }
6617                leaf bit-position {6647                leaf bit-position {
6618                  type uint32 {6648                  type uint32 {
6619                    range "0..255" {6649                    range "0..255" {
6620                      description6650                      description
6621                        "Bit position";6651                        "Bit position";
6622                    }6652                    }
6623                  }6653                  }
6624                  description6654                  description
6625                    "Bit position for affinity attribute value";6655                    "Bit position for affinity attribute value";
6626                }6656                }
6627              }6657              }
6628            }6658            }
6629          }6659          }
6630          container flex-algos {6660          container flex-algos {
6631            description6661            description
6632              "Flex Algorithm definition";6662              "Flex Algorithm definition";
6633            list flex-algo {6663            list flex-algo {
6634              key "algorithm-number";6664              key "algorithm-number";
6635              description6665              description
6636                "Flex Algorithm definition";6666                "Flex Algorithm definition";
6637              leaf algorithm-number {6667              leaf algorithm-number {
6638                type uint32 {6668                type uint32 {
6639                  range "128..255" {6669                  range "128..255" {
6640                    description6670                    description
6641                      "Algorithm number";6671                      "Algorithm number";
6642                  }6672                  }
6643                }6673                }
6644                description6674                description
6645                  "Flex Algorithm definition";6675                  "Flex Algorithm definition";
6646              }6676              }
6647              leaf priority {6677              leaf priority {
6648                type uint32 {6678                type uint32 {
6649                  range "0..255" {6679                  range "0..255" {
6650                    description6680                    description
6651                      "Priority value";6681                      "Priority value";
6652                  }6682                  }
6653                }6683                }
6654                description6684                description
6655                  "Flex-Algo definition priority";6685                  "Flex-Algo definition priority";
6656              }6686              }
6657              container microloop {6687              container microloop {
6658                description6688                description
6659                  "Microloop configuration";6689                  "Microloop configuration";
6660                container avoidance {6690                container avoidance {
6661                  presence "Indicates a avoidance node is configured.";6691                  presence "Indicates a avoidance node is configured.";
6662                  description6692                  description
6663                    "Microloop avoidance state";6693                    "Microloop avoidance state";
6664                  container disable {6694                  container disable {
6665                    presence "Indicates a disable node is configured.";6695                    presence "Indicates a disable node is configured.";
6666                    description6696                    description
6667                      "Disable microloop avoidance for Flex-Algo";6697                      "Disable microloop avoidance for Flex-Algo";
6668                  }6698                  }
6669                }6699                }
6670              }6700              }
6671              container prefix-metric {6701              container prefix-metric {
6672                presence "Indicates a prefix-metric node is configured.";6702                presence "Indicates a prefix-metric node is configured.";
6673                description6703                description
6674                  "Advertise the Flex-Algo Definition";6704                  "Advertise the Flex-Algo Definition";
6675              }6705              }
6676              container metric-type {6706              container metric-type {
6677                description6707                description
6678                  "Metric-type used by flex-algo calculation";6708                  "Metric-type used by flex-algo calculation";
6679                container delay {6709                container delay {
6680                  presence "Indicates a delay node is configured.";6710                  presence "Indicates a delay node is configured.";
6681                  description6711                  description
6682                    "Use delay as metric";6712                    "Use delay as metric";
6683                }6713                }
6684                container te-metric {6714                container te-metric {
6685                  presence "Indicates a te-metric node is configured.";6715                  presence "Indicates a te-metric node is configured.";
6686                  description6716                  description
6687                    "Use te-metric";6717                    "Use te-metric";
6688                }6718                }
6689              }6719              }
6690              container advertise-definition {6720              container advertise-definition {
6691                presence "Indicates a advertise-definition node is configured.";6721                presence "Indicates a advertise-definition node is configured.";
6692                description6722                description
6693                  "Advertise the Flex-Algo Definition";6723                  "Advertise the Flex-Algo Definition";
6694              }6724              }
6695              container fast-reroute {6725              container fast-reroute {
6696                description6726                description
6697                  "Configure Fast ReRoute";6727                  "Configure Fast ReRoute";
6698                container disable {6728                container disable {
6699                  presence "Indicates a disable node is configured.";6729                  presence "Indicates a disable node is configured.";
6700                  description6730                  description
6701                    "Disable Fast ReRoute for Flex-Algo";6731                    "Disable Fast ReRoute for Flex-Algo";
6702                }6732                }
6703              }6733              }
6704              container affinity {6734              container affinity {
6705                description6735                description
6706                  "Specify affinity name";6736                  "Specify affinity name";
6707                container exclude-any {6737                container exclude-any {
6708                  description6738                  description
6709                    "Exclude objects in flex-algo calculation";6739                    "Exclude objects in flex-algo calculation";
6710                  container affinity-attributes {6740                  container affinity-attributes {
6711                    description6741                    description
6712                      "Affinity attribute name";6742                      "Affinity attribute name";
6713                    list affinity-attribute {6743                    list affinity-attribute {
6714                      key "affinity-attribute-name";6744                      key "affinity-attribute-name";
6715                      description6745                      description
6716                        "Affinity attribute name";6746                        "Affinity attribute name";
6717                      leaf affinity-attribute-name {6747                      leaf affinity-attribute-name {
6718                        type xr:Cisco-ios-xr-string {6748                        type xr:Cisco-ios-xr-string {
6719                          length "1..32" {6749                          length "1..32" {
6720                            description6750                            description
6721                              "Affinity attribute name";6751                              "Affinity attribute name";
6722                          }6752                          }
6723                        }6753                        }
6724                        description6754                        description
6725                          "Affinity attribute name";6755                          "Affinity attribute name";
6726                      }6756                      }
6727                    }6757                    }
6728                  }6758                  }
6729                }6759                }
6730                container include-any {6760                container include-any {
6731                  description6761                  description
6732                    "Include any objects in flex-algo calculation";6762                    "Include any objects in flex-algo calculation";
6733                  container affinity-attributes {6763                  container affinity-attributes {
6734                    description6764                    description
6735                      "Affinity attribute name";6765                      "Affinity attribute name";
6736                    list affinity-attribute {6766                    list affinity-attribute {
6737                      key "affinity-attribute-name";6767                      key "affinity-attribute-name";
6738                      description6768                      description
6739                        "Affinity attribute name";6769                        "Affinity attribute name";
6740                      leaf affinity-attribute-name {6770                      leaf affinity-attribute-name {
6741                        type xr:Cisco-ios-xr-string {6771                        type xr:Cisco-ios-xr-string {
6742                          length "1..32" {6772                          length "1..32" {
6743                            description6773                            description
6744                              "Affinity attribute name";6774                              "Affinity attribute name";
6745                          }6775                          }
6746                        }6776                        }
6747                        description6777                        description
6748                          "Affinity attribute name";6778                          "Affinity attribute name";
6749                      }6779                      }
6750                    }6780                    }
6751                  }6781                  }
6752                }6782                }
6753                container include-all {6783                container include-all {
6754                  description6784                  description
6755                    "Include all objects in flex-algo calculation";6785                    "Include all objects in flex-algo calculation";
6756                  container affinity-attributes {6786                  container affinity-attributes {
6757                    description6787                    description
6758                      "Affinity attribute name";6788                      "Affinity attribute name";
6759                    list affinity-attribute {6789                    list affinity-attribute {
6760                      key "affinity-attribute-name";6790                      key "affinity-attribute-name";
6761                      description6791                      description
6762                        "Affinity attribute name";6792                        "Affinity attribute name";
6763                      leaf affinity-attribute-name {6793                      leaf affinity-attribute-name {
6764                        type xr:Cisco-ios-xr-string {6794                        type xr:Cisco-ios-xr-string {
6765                          length "1..32" {6795                          length "1..32" {
6766                            description6796                            description
6767                              "Affinity attribute name";6797                              "Affinity attribute name";
6768                          }6798                          }
6769                        }6799                        }
6770                        description6800                        description
6771                          "Affinity attribute name";6801                          "Affinity attribute name";
6772                      }6802                      }
6773                    }6803                    }
6774                  }6804                  }
6775                }6805                }
6776              }6806              }
6777              container srlg {6807              container srlg {
6778                description6808                description
6779                  "Specify srlg name";6809                  "Specify srlg name";
6780                container exclude-any {6810                container exclude-any {
6781                  description6811                  description
6782                    "Exclude objects in flex-algo calculation";6812                    "Exclude objects in flex-algo calculation";
6783                  container srlgs {6813                  container srlgs {
6784                    description6814                    description
6785                      "srlg name";6815                      "srlg name";
6786                    list srlg {6816                    list srlg {
6787                      key "srlg-name";6817                      key "srlg-name";
6788                      description6818                      description
6789                        "srlg name";6819                        "srlg name";
6790                      leaf srlg-name {6820                      leaf srlg-name {
6791                        type string {6821                        type string {
6792                          length "1..64" {6822                          length "1..64" {
6793                            description6823                            description
6794                              "srlg name";6824                              "srlg name";
6795                          }6825                          }
6796                        }6826                        }
6797                        description6827                        description
6798                          "srlg name";6828                          "srlg name";
6799                      }6829                      }
6800                    }6830                    }
6801                  }6831                  }
6802                }6832                }
6803              }6833              }
6804            }6834            }
6805          }6835          }
6806          container authentication-key {6836          container authentication-key {
6807            description6837            description
6808              "Authentication password (key)";6838              "Authentication password (key)";
6809            leaf encrypted {6839            leaf encrypted {
6810              type xr:Proprietary-password;6840              type xr:Proprietary-password;
6811              description6841              description
6812                "Specifies an ENCRYPTED password (key) will follow";6842                "Specifies an ENCRYPTED password (key) will follow";
6813            }6843            }
6814          }6844          }
6815          container message-digest-keys {6845          container message-digest-keys {
6816            description6846            description
6817              "Message digest authentication password (key)";6847              "Message digest authentication password (key)";
6818            list message-digest-key {6848            list message-digest-key {
6819              key "message-digest-key-id";6849              key "message-digest-key-id";
6820              description6850              description
6821                "Message digest authentication password (key)";6851                "Message digest authentication password (key)";
6822              leaf message-digest-key-id {6852              leaf message-digest-key-id {
6823                type uint32 {6853                type uint32 {
6824                  range "1..255" {6854                  range "1..255" {
6825                    description6855                    description
6826                      "Key ID";6856                      "Key ID";
6827                  }6857                  }
6828                }6858                }
6829                description6859                description
6830                  "Message digest authentication password (key)";6860                  "Message digest authentication password (key)";
6831              }6861              }
6832              container md5 {6862              container md5 {
6833                description6863                description
6834                  "Use MD5 algorithm";6864                  "Use MD5 algorithm";
6835                leaf encrypted {6865                leaf encrypted {
6836                  type xr:Proprietary-password;6866                  type xr:Proprietary-password;
6837                  description6867                  description
6838                    "Specifies an ENCRYPTED password (key) will follow";6868                    "Specifies an ENCRYPTED password (key) will follow";
6839                }6869                }
6840              }6870              }
6841            }6871            }
6842          }6872          }
6843          container authentication {6873          container authentication {
6844            presence "Indicates a authentication node is configured.";6874            presence "Indicates a authentication node is configured.";
6845            description6875            description
6846              "Enable authentication";6876              "Enable authentication";
6847            container message-digest {6877            container message-digest {
6848              must "not(../null or ../keychain)";6878              must "not(../null or ../keychain)";
6849              presence "Indicates a message-digest node is configured.";6879              presence "Indicates a message-digest node is configured.";
6850              description6880              description
6851                "Use message-digest authentication";6881                "Use message-digest authentication";
6852            }6882            }
6853            container keychain {6883            container keychain {
6854              must "../keychain-name";6884              must "../keychain-name";
6855              presence "Indicates a keychain node is configured.";6885              presence "Indicates a keychain node is configured.";
6856              description6886              description
6857                "Use keychain";6887                "Use keychain";
6858            }6888            }
6859            leaf keychain-name {6889            leaf keychain-name {
6860              type string {6890              type string {
6861                length "1..32" {6891                length "1..32" {
6862                  description6892                  description
6863                    "The keychain name";6893                    "The keychain name";
6864                }6894                }
6865              }6895              }
6866              must "(../message-digest or ../keychain) and not(../null)";6896              must "(../message-digest or ../keychain) and not(../null)";
6867              description6897              description
6868                "Specify keychain name";6898                "Specify keychain name";
6869            }6899            }
6870            container null {6900            container null {
6871              must "not(../message-digest or ../keychain)";6901              must "not(../message-digest or ../keychain)";
6872              presence "Indicates a null node is configured.";6902              presence "Indicates a null node is configured.";
6873              description6903              description
6874                "Use no authentication";6904                "Use no authentication";
6875            }6905            }
6876          }6906          }
6877          container network {6907          container network {
6878            description6908            description
6879              "Network type";6909              "Network type";
6880            container broadcast {6910            container broadcast {
6881              presence "Indicates a broadcast node is configured.";6911              presence "Indicates a broadcast node is configured.";
6882              description6912              description
6883                "Specify OSPF broadcast multi-access network";6913                "Specify OSPF broadcast multi-access network";
6884            }6914            }
6885            container non-broadcast {6915            container non-broadcast {
6886              presence "Indicates a non-broadcast node is configured.";6916              presence "Indicates a non-broadcast node is configured.";
6887              description6917              description
6888                "Specify OSPF NBMA network";6918                "Specify OSPF NBMA network";
6889            }6919            }
6890            container point-to-point {6920            container point-to-point {
6891              presence "Indicates a point-to-point node is configured.";6921              presence "Indicates a point-to-point node is configured.";
6892              description6922              description
6893                "Specify OSPF point-to-point network";6923                "Specify OSPF point-to-point network";
6894            }6924            }
6895            container point-to-multipoint {6925            container point-to-multipoint {
6896              presence "Indicates a point-to-multipoint node is configured.";6926              presence "Indicates a point-to-multipoint node is configured.";
6897              description6927              description
6898                "Specify OSPF point-to-multipoint network";6928                "Specify OSPF point-to-multipoint network";
6899            }6929            }
6900          }6930          }
6901          container external-out {6931          container external-out {
6902            description6932            description
6903              "Enable/Disable advertisement of intra-area prefixes as external";6933              "Enable/Disable advertisement of intra-area prefixes as external";
6904            container enable {6934            container enable {
6905              must "not(../disable)";6935              must "not(../disable)";
6906              presence "Indicates a enable node is configured.";6936              presence "Indicates a enable node is configured.";
6907              description6937              description
6908                "Enable advertisement of intra-area routes as external";6938                "Enable advertisement of intra-area routes as external";
6909            }6939            }
6910            container disable {6940            container disable {
6911              must "not(../enable)";6941              must "not(../enable)";
6912              presence "Indicates a disable node is configured.";6942              presence "Indicates a disable node is configured.";
6913              description6943              description
6914                "Disable advertisement of intra-area routes as external";6944                "Disable advertisement of intra-area routes as external";
6915            }6945            }
6916          }6946          }
6917          container summary-in {6947          container summary-in {
6918            description6948            description
6919              "Enable/Disable advertisement of external prefixes as inter-area";6949              "Enable/Disable advertisement of external prefixes as inter-area";
6920            container enable {6950            container enable {
6921              must "not(../disable)";6951              must "not(../disable)";
6922              presence "Indicates a enable node is configured.";6952              presence "Indicates a enable node is configured.";
6923              description6953              description
6924                "Enable advertisement of external prefixes as inter-area";6954                "Enable advertisement of external prefixes as inter-area";
6925            }6955            }
6926            container disable {6956            container disable {
6927              must "not(../enable)";6957              must "not(../enable)";
6928              presence "Indicates a disable node is configured.";6958              presence "Indicates a disable node is configured.";
6929              description6959              description
6930                "Disable advertisement of external prefixes as inter-area";6960                "Disable advertisement of external prefixes as inter-area";
6931            }6961            }
6932          }6962          }
6933          container adjacency {6963          container adjacency {
6934            description6964            description
6935              "OSPF adjacency bring up";6965              "OSPF adjacency bring up";
6936            container stagger {6966            container stagger {
6937              description6967              description
6938                "Stagger OSPF adjacency bring up";6968                "Stagger OSPF adjacency bring up";
6939              container disable {6969              container disable {
6940                must "not(../initial-number-of-neighbors)";6970                must "not(../initial-number-of-neighbors)";
6941                presence "Indicates a disable node is configured.";6971                presence "Indicates a disable node is configured.";
6942                description6972                description
6943                  "Disable stagger OSPF adjacency bring up";6973                  "Disable stagger OSPF adjacency bring up";
6944              }6974              }
6945              leaf initial-number-of-neighbors {6975              leaf initial-number-of-neighbors {
6946                type uint32 {6976                type uint32 {
6947                  range "1..65535" {6977                  range "1..65535" {
6948                    description6978                    description
6949                      "Initial number of neighbors to bring up per area (default 2)";6979                      "Initial number of neighbors to bring up per area (default 2)";
6950                  }6980                  }
6951                }6981                }
6952                must "not(../disable)";6982                must "not(../disable)";
6953                description6983                description
6954                  "Initial number of neighbors to bring up per area (default 2)";6984                  "Initial number of neighbors to bring up per area (default 2)";
6955              }6985              }
6956              leaf maximum-simultaneous-neighbors {6986              leaf maximum-simultaneous-neighbors {
6957                type uint32 {6987                type uint32 {
6958                  range "1..65535" {6988                  range "1..65535" {
6959                    description6989                    description
6960                      "Maximum simultaneous neighbors to bring up (default 64)";6990                      "Maximum simultaneous neighbors to bring up (default 64)";
6961                  }6991                  }
6962                }6992                }
6963                must "../initial-number-of-neighbors";6993                must "../initial-number-of-neighbors";
6964                description6994                description
6965                  "Maximum simultaneous neighbors to bring up (default 64)";6995                  "Maximum simultaneous neighbors to bring up (default 64)";
6966              }6996              }
6967            }6997            }
6968          }6998          }
6969          container snmp {6999          container snmp {
6970            description7000            description
6971              "SNMP configuration";7001              "SNMP configuration";
6972            leaf context {7002            leaf context {
6973              type string {7003              type string {
6974                length "1..32" {7004                length "1..32" {
6975                  description7005                  description
6976                    "SNMP context name";7006                    "SNMP context name";
6977                }7007                }
6978                pattern "[a-zA-Z0-9*/_]+";7008                pattern "[a-zA-Z0-9*/_]+";
6979              }7009              }
6980              description7010              description
6981                "Specified SNMP context for OSPF instance";7011                "Specified SNMP context for OSPF instance";
6982            }7012            }
6983            container trap {7013            container trap {
6984              description7014              description
6985                "Adjust snmp trap parameters";7015                "Adjust snmp trap parameters";
6986              leaf rate-limit {7016              leaf rate-limit {
6987                type uint32 {7017                type uint32 {
6988                  range "2..60" {7018                  range "2..60" {
6989                    description7019                    description
6990                      "Trap rate limit sliding window size";7020                      "Trap rate limit sliding window size";
6991                  }7021                  }
6992                }7022                }
6993                description7023                description
6994                  "Adjust trap rate-limit parameters";7024                  "Adjust trap rate-limit parameters";
6995              }7025              }
6996              leaf max-number-of-traps {7026              leaf max-number-of-traps {
6997                type uint32 {7027                type uint32 {
6998                  range "0..300" {7028                  range "0..300" {
6999                    description7029                    description
7000                      "Max number of traps sent in window time";7030                      "Max number of traps sent in window time";
7001                  }7031                  }
7002                }7032                }
7003                description7033                description
7004                  "Max number of traps sent in window time";7034                  "Max number of traps sent in window time";
7005              }7035              }
7006            }7036            }
7007          }7037          }
7008          container monitor-convergence {7038          container monitor-convergence {
7009            presence "Indicates a monitor-convergence node is configured.";7039            presence "Indicates a monitor-convergence node is configured.";
7010            description7040            description
7011              "Enables OSPF route convergence monitoring";7041              "Enables OSPF route convergence monitoring";
7012            leaf prefix-list {7042            leaf prefix-list {
7013              type string {7043              type string {
7014                length "1..1024" {7044                length "1..1024" {
7015                  description7045                  description
7016                    "Prefix List Name";7046                    "Prefix List Name";
7017                }7047                }
7018              }7048              }
7019              description7049              description
7020                "Enables Individual Prefix Monitoring";7050                "Enables Individual Prefix Monitoring";
7021            }7051            }
7022            container track-summary-routes {7052            container track-summary-routes {
7023              presence "Indicates a track-summary-routes node is configured.";7053              presence "Indicates a track-summary-routes node is configured.";
7024              description7054              description
7025                "Enables Tracking Summary(Inter-Area) Prefix Monitoring";7055                "Enables Tracking Summary(Inter-Area) Prefix Monitoring";
7026            }7056            }
7027            container track-external-routes {7057            container track-external-routes {
7028              presence "Indicates a track-external-routes node is configured.";7058              presence "Indicates a track-external-routes node is configured.";
7029              description7059              description
7030                "Enables Tracking External(Type-5/7) Prefix Monitoring";7060                "Enables Tracking External(Type-5/7) Prefix Monitoring";
7031            }7061            }
7032            container track-ip-frr {7062            container track-ip-frr {
7033              presence "Indicates a track-ip-frr node is configured.";7063              presence "Indicates a track-ip-frr node is configured.";
7034              description7064              description
7035                "Enables Tracking IP-Frr Convergence";7065                "Enables Tracking IP-Frr Convergence";
7036            }7066            }
7037          }7067          }
7038          container ucmp {7068          container ucmp {
7039            description7069            description
7040              "Unequal Cost Load Balancing";7070              "Unequal Cost Load Balancing";
7041            container enable {7071            container enable {
7042              presence "Indicates a ucmp node is configured.";7072              presence "Indicates a ucmp node is configured.";
7043              description7073              description
7044                "Enable ucmp";7074                "Enable ucmp";
7045              leaf variance {7075              leaf variance {
7046                type uint32 {7076                type uint32 {
7047                  range "101..10000" {7077                  range "101..10000" {
7048                    description7078                    description
7049                      "Percentage of the primary path metric";7079                      "Percentage of the primary path metric";
7050                  }7080                  }
7051                }7081                }
7052                default "200";7082                default "200";
7053                description7083                description
7054                  "Set the Variance for UCMP path metric";7084                  "Set the Variance for UCMP path metric";
7055              }7085              }
7056              leaf prefix-list {7086              leaf prefix-list {
7057                type string {7087                type string {
7058                  length "1..1024" {7088                  length "1..1024" {
7059                    description7089                    description
7060                      "Prefix-list name";7090                      "Prefix-list name";
7061                  }7091                  }
7062                }7092                }
7063                description7093                description
7064                  "Filter prefixes for which UCMP path are calculated";7094                  "Filter prefixes for which UCMP path are calculated";
7065              }7095              }
7066            }7096            }
7067            container exclude {7097            container exclude {
7068              description7098              description
7069                "UCMP exclusion information";7099                "UCMP exclusion information";
7070              container interfaces {7100              container interfaces {
7071                description7101                description
7072                  "Exclude an interface during UCMP computation";7102                  "Exclude an interface during UCMP computation";
7073                list interface {7103                list interface {
7074                  key "interface-name";7104                  key "interface-name";
7075                  description7105                  description
7076                    "Exclude an interface during UCMP computation";7106                    "Exclude an interface during UCMP computation";
7077                  leaf interface-name {7107                  leaf interface-name {
7078                    type xr:Interface-name;7108                    type xr:Interface-name;
7079                    description7109                    description
7080                      "Exclude an interface during UCMP computation";7110                      "Exclude an interface during UCMP computation";
7081                  }7111                  }
7082                }7112                }
7083              }7113              }
7084            }7114            }
7085            leaf delay-interval {7115            leaf delay-interval {
7086              type uint32 {7116              type uint32 {
7087                range "1..5000" {7117                range "1..5000" {
7088                  description7118                  description
7089                    "ms";7119                    "ms";
7090                }7120                }
7091              }7121              }
7092              description7122              description
7093                "Interval between SPF and start of the UCMP calculation";7123                "Interval between SPF and start of the UCMP calculation";
7094            }7124            }
7095          }7125          }
7096          container apply-weight {7126          container apply-weight {
7097            presence "Indicates a apply-weight node is configured.";7127            presence "Indicates a apply-weight node is configured.";
7098            description7128            description
7099              "Enable weights configured under interfaces for load sharing";7129              "Enable weights configured under interfaces for load sharing";
7100            leaf use-interface-bandwidth {7130            leaf use-interface-bandwidth {
7101              type boolean;7131              type boolean;
7102              mandatory true;7132              mandatory true;
7103              description7133              description
7104                "Use interface bandwidth when calculating weights";7134                "Use interface bandwidth when calculating weights";
7105            }7135            }
7106            leaf bandwidth {7136            leaf bandwidth {
7107              type uint32 {7137              type uint32 {
7108                range "1..4294967" {7138                range "1..4294967" {
7109                  description7139                  description
7110                    "Reference bandwidth to use for calculation7140                    "Reference bandwidth to use for calculation
7111                     (Mbits/sec).7141                     (Mbits/sec).
7112                     Value must be 100 when use-interface-bandwidth = false";7142                     Value must be 100 when use-interface-bandwidth = false";
7113                }7143                }
7114              }7144              }
7115              mandatory true;7145              mandatory true;
7116              description7146              description
7117                "Reference bandwidth to use for calculation7147                "Reference bandwidth to use for calculation
7118                 (Mbits/sec).7148                 (Mbits/sec).
7119                 Value must be 100 when use-interface-bandwidth = false";7149                 Value must be 100 when use-interface-bandwidth = false";
7120            }7150            }
7121            leaf default-weight {7151            leaf default-weight {
7122              type uint32 {7152              type uint32 {
7123                range "1..16777214" {7153                range "1..16777214" {
7124                  description7154                  description
7125                    "Specify default weight value. Value must be 1 when use-interface-bandwidth = true";7155                    "Specify default weight value. Value must be 1 when use-interface-bandwidth = true";
7126                }7156                }
7127              }7157              }
7128              mandatory true;7158              mandatory true;
7129              description7159              description
7130                "Specify default weight value.Value must be 1 when use-interface-bandwidth = true";7160                "Specify default weight value.Value must be 1 when use-interface-bandwidth = true";
7131            }7161            }
7132          }7162          }
7133          container srlg {7163          container srlg {
7134            description7164            description
7135              "Weighted SRLG configurations";7165              "Weighted SRLG configurations";
7136            leaf admin-weight {7166            leaf admin-weight {
7137              type uint32 {7167              type uint32 {
7138                range "0..65535" {7168                range "0..65535" {
7139                  description7169                  description
7140                    "Default weight";7170                    "Default weight";
7141                }7171                }
7142              }7172              }
7143              description7173              description
7144                "Default admin weight for all SRLG values";7174                "Default admin weight for all SRLG values";
7145            }7175            }
7146            container names {7176            container names {
7147              description7177              description
7148                "Weighted SRLG name configuration";7178                "Weighted SRLG name configuration";
7149              list name {7179              list name {
7150                key "srlg-name";7180                key "srlg-name";
7151                description7181                description
7152                  "Weighted SRLG name configuration";7182                  "Weighted SRLG name configuration";
7153                leaf srlg-name {7183                leaf srlg-name {
7154                  type xr:Cisco-ios-xr-string {7184                  type xr:Cisco-ios-xr-string {
7155                    length "1..64" {7185                    length "1..64" {
7156                      description7186                      description
7157                        "SRLG name";7187                        "SRLG name";
7158                    }7188                    }
7159                  }7189                  }
7160                  description7190                  description
7161                    "Weighted SRLG name configuration";7191                    "Weighted SRLG name configuration";
7162                }7192                }
7163                leaf admin-weight {7193                leaf admin-weight {
7164                  type uint32 {7194                  type uint32 {
7165                    range "0..65535" {7195                    range "0..65535" {
7166                      description7196                      description
7167                        "Default weight";7197                        "Default weight";
7168                    }7198                    }
7169                  }7199                  }
7170                  description7200                  description
7171                    "Default admin weight for all SRLG values";7201                    "Default admin weight for all SRLG values";
7172                }7202                }
7173              }7203              }
7174            }7204            }
7175          }7205          }
7176          container max-external-lsa {7206          container max-external-lsa {
7177            presence "Indicates a max-extern-lsa node is configured.";7207            presence "Indicates a max-extern-lsa node is configured.";
7178            description7208            description
7179              "Maximum number of external LSAs OSPF process will receive";7209              "Maximum number of external LSAs OSPF process will receive";
7180            leaf max-external-lsa {7210            leaf max-external-lsa {
7181              type uint32 {7211              type uint32 {
7182                range "1..4294967294" {7212                range "1..4294967294" {
7183                  description7213                  description
7184                    "Maximum number of external LSAs per ASBR this process can receive";7214                    "Maximum number of external LSAs per ASBR this process can receive";
7185                }7215                }
7186              }7216              }
7187              mandatory true;7217              mandatory true;
7188              description7218              description
7189                "Maximum number of External LSAs per ASBR";7219                "Maximum number of External LSAs per ASBR";
7190            }7220            }
7191            leaf threshold-value {7221            leaf threshold-value {
7192              type uint32 {7222              type uint32 {
7193                range "1..100" {7223                range "1..100" {
7194                  description7224                  description
7195                    "Threshold value (%) at which to generate a warning msg";7225                    "Threshold value (%) at which to generate a warning msg";
7196                }7226                }
7197              }7227              }
7198              description7228              description
7199                "Threshold value (%) at which to generate a warning msg";7229                "Threshold value (%) at which to generate a warning msg";
7200            }7230            }
7201            container suppress-neighbor {7231            container suppress-neighbor {
7202              must "not(../warning-only)";7232              must "not(../warning-only)";
7203              presence "Indicates a suppress-neighbor node is configured.";7233              presence "Indicates a suppress-neighbor node is configured.";
7204              description7234              description
7205                "Suppress the neighbor when limit is crossed";7235                "Suppress the neighbor when limit is crossed";
7206            }7236            }
7207            container warning-only {7237            container warning-only {
7208              must "not(../suppress-neighbor)";7238              must "not(../suppress-neighbor)";
7209              presence "Indicates a warning-only node is configured.";7239              presence "Indicates a warning-only node is configured.";
7210              description7240              description
7211                "Only give warning message when limit is exceeded";7241                "Only give warning message when limit is exceeded";
7212            }7242            }
7213          }7243          }
7214          container exchange-timer {7244          container exchange-timer {
7215            presence "Indicates a exchange hold timer is configured.";7245            presence "Indicates a exchange hold timer is configured.";
7216            description7246            description
7217              "Time after which interface will be brought down or up.";7247              "Time after which interface will be brought down or up.";
7218            leaf exchange-timer {7248            leaf exchange-timer {
7219              type uint32 {7249              type uint32 {
7220                range "1..35791394" {7250                range "1..35791394" {
7221                  description7251                  description
7222                    "Exchange time in minutes";7252                    "Exchange time in minutes";
7223                }7253                }
7224              }7254              }
7225              mandatory true;7255              mandatory true;
7226              description7256              description
7227                "Time after which interface will be brought down if adjacency is stuck in exchange/loading";7257                "Time after which interface will be brought down if adjacency is stuck in exchange/loading";
7228            }7258            }
7229            leaf hold-time {7259            leaf hold-time {
7230              type uint32 {7260              type uint32 {
7231                range "1..35791394" {7261                range "1..35791394" {
7232                  description7262                  description
7233                    "Recovery time in minutes";7263                    "Recovery time in minutes";
7234                }7264                }
7235              }7265              }
7236              description7266              description
7237                "Time after which interface will be brought up to recover adjacencies";7267                "Time after which interface will be brought up to recover adjacencies";
7238            }7268            }
7239            leaf recovery-count {7269            leaf recovery-count {
7240              type uint32 {7270              type uint32 {
7241                range "1..4294967294" {7271                range "1..4294967294" {
7242                  description7272                  description
7243                    "Recovery count value";7273                    "Recovery count value";
7244                }7274                }
7245              }7275              }
7246              description7276              description
7247                "Number of times recovery will be attempted";7277                "Number of times recovery will be attempted";
7248            }7278            }
7249          }7279          }
7250          container distribute {7280          container distribute {
7251            description7281            description
7252              "Enable Distribution of LSAs to external services";7282              "Enable Distribution of LSAs to external services";
7253            container link-state {7283            container link-state {
7254              presence "Indicates a link-state node is configured.";7284              presence "Indicates a link-state node is configured.";
7255              description7285              description
7256                "Distribute the link-state database to external services";7286                "Distribute the link-state database to external services";
7257              leaf instance-id {7287              leaf instance-id {
7258                type uint32 {7288                type uint32 {
7259                  range "0..4294967295" {7289                  range "0..4294967295" {
7260                    description7290                    description
7261                      "Instance ID";7291                      "Instance ID";
7262                  }7292                  }
7263                }7293                }
7264                description7294                description
7265                  "Set distribution process instance identifier";7295                  "Set distribution process instance identifier";
7266              }7296              }
7267              leaf throttle {7297              leaf throttle {
7268                type uint32 {7298                type uint32 {
7269                  range "1..3600" {7299                  range "1..3600" {
7270                    description7300                    description
7271                      "Seconds";7301                      "Seconds";
7272                  }7302                  }
7273                }7303                }
7274                description7304                description
7275                  "Throttle time between successive LSA updates";7305                  "Throttle time between successive LSA updates";
7276              }7306              }
7277              container excl-external {7307              container excl-external {
7278                presence "Indicates a excl-external node is configured.";7308                presence "Indicates a excl-external node is configured.";
7279                description7309                description
7280                  "Filter advertisement of external prefixes";7310                  "Filter advertisement of external prefixes";
7281              }7311              }
7282              container allow-prefix {7312              container allow-prefix {
7283                description7313                description
7284                  "Selectively allow prefixes from route policy";7314                  "Selectively allow prefixes from route policy";
7285                leaf route-policy {7315                leaf route-policy {
7286                  type xr:Route-policy-name;7316                  type xr:Route-policy-name;
7287                  description7317                  description
7288                    "Specify the route-policy to allow a set of prefixes";7318                    "Specify the route-policy to allow a set of prefixes";
7289                }7319                }
7290              }7320              }
7291              leaf follow-on {7321              leaf follow-on {
7292                type uint32 {7322                type uint32 {
7293                  range "1..3600" {7323                  range "1..3600" {
7294                    description7324                    description
7295                      "Seconds";7325                      "Seconds";
7296                  }7326                  }
7297                }7327                }
7298                description7328                description
7299                  "Follow on time between successive LSA updates";7329                  "Follow on time between successive LSA updates";
7300              }7330              }
7301            }7331            }
7302          }7332          }
7303          container nsr {7333          container nsr {
7304            presence "Indicates a nsr node is configured.";7334            presence "Indicates a nsr node is configured.";
7305            description7335            description
7306              "Enable NSR for all VRFs in this process";7336              "Enable NSR for all VRFs in this process";
7307            container disable {7337            container disable {
7308              presence "Indicates a disable node is configured.";7338              presence "Indicates a disable node is configured.";
7309              description7339              description
7310                "Disable NSR for all VRFs in this process";7340                "Disable NSR for all VRFs in this process";
7311            }7341            }
7312          }7342          }
7313          container trace {7343          container trace {
7314            description7344            description
7315              "OSPF tracing options";7345              "OSPF tracing options";
7316            list size {7346            list size {
7317              key "trace-buffer-name";7347              key "trace-buffer-name";
7318              description7348              description
7319                "Delete existing buffer and create one with N entries";7349                "Delete existing buffer and create one with N entries";
7320              leaf trace-buffer-name {7350              leaf trace-buffer-name {
7321                type xr:Cisco-ios-xr-string {7351                type xr:Cisco-ios-xr-string {
7322                  length "1..1024" {7352                  length "1..1024" {
7323                    description7353                    description
7324                      "Name of trace buffer";7354                      "Name of trace buffer";
7325                  }7355                  }
7326                }7356                }
7327                description7357                description
7328                  "Delete existing buffer and create one with N entries";7358                  "Delete existing buffer and create one with N entries";
7329              }7359              }
7330              leaf trace-entry-size {7360              leaf trace-entry-size {
7331                type enumeration {7361                type enumeration {
7332                  enum "0" {7362                  enum "0" {
7333                    value 0;7363                    value 0;
7334                    description7364                    description
7335                      "disable trace";7365                      "disable trace";
7336                  }7366                  }
7337                  enum "256" {7367                  enum "256" {
7338                    value 256;7368                    value 256;
7339                    description7369                    description
7340                      "trace entries";7370                      "trace entries";
7341                  }7371                  }
7342                  enum "512" {7372                  enum "512" {
7343                    value 512;7373                    value 512;
7344                    description7374                    description
7345                      "trace entries";7375                      "trace entries";
7346                  }7376                  }
7347                  enum "1024" {7377                  enum "1024" {
7348                    value 1024;7378                    value 1024;
7349                    description7379                    description
7350                      "trace entries";7380                      "trace entries";
7351                  }7381                  }
7352                  enum "2048" {7382                  enum "2048" {
7353                    value 2048;7383                    value 2048;
7354                    description7384                    description
7355                      "trace entries";7385                      "trace entries";
7356                  }7386                  }
7357                  enum "4096" {7387                  enum "4096" {
7358                    value 4096;7388                    value 4096;
7359                    description7389                    description
7360                      "trace entries";7390                      "trace entries";
7361                  }7391                  }
7362                  enum "8192" {7392                  enum "8192" {
7363                    value 8192;7393                    value 8192;
7364                    description7394                    description
7365                      "trace entries";7395                      "trace entries";
7366                  }7396                  }
7367                  enum "16384" {7397                  enum "16384" {
7368                    value 16384;7398                    value 16384;
7369                    description7399                    description
7370                      "trace entries";7400                      "trace entries";
7371                  }7401                  }
7372                  enum "32768" {7402                  enum "32768" {
7373                    value 32768;7403                    value 32768;
7374                    description7404                    description
7375                      "trace entries";7405                      "trace entries";
7376                  }7406                  }
7377                  enum "65536" {7407                  enum "65536" {
7378                    value 65536;7408                    value 65536;
7379                    description7409                    description
7380                      "trace entries";7410                      "trace entries";
7381                  }7411                  }
7382                }7412                }
7383                description7413                description
7384                  "Number of trece entries";7414                  "Number of trece entries";
7385              }7415              }
7386            }7416            }
7387          }7417          }
7388          container protocol {7418          container protocol {
7389            description7419            description
7390              "Protocol specific configuration";7420              "Protocol specific configuration";
7391            container shutdown {7421            container shutdown {
7392              presence "Indicates a shutdown node is configured.";7422              presence "Indicates a shutdown node is configured.";
7393              description7423              description
7394                "Shutdown the OSPF protocol";7424                "Shutdown the OSPF protocol";
7395              container host-mode {7425              container host-mode {
7396                presence "Indicates a host-mode node is configured.";7426                presence "Indicates a host-mode node is configured.";
7397                description7427                description
7398                  "Only traffic destined for this box allowed";7428                  "Only traffic destined for this box allowed";
7399              }7429              }
7400              container on-reload {7430              container on-reload {
7401                presence "Indicates a on-reload node is configured.";7431                presence "Indicates a on-reload node is configured.";
7402                description7432                description
7403                  "Shutdown post reload only";7433                  "Shutdown post reload only";
7404              }7434              }
7405            }7435            }
7406          }7436          }
7407          container vrfs {7437          container vrfs {
7408            description7438            description
7409              "Enter the OSPF vrf configuration submode";7439              "Enter the OSPF vrf configuration submode";
7410            list vrf {7440            list vrf {
7411              key "vrf-name";7441              key "vrf-name";
7412              description7442              description
7413                "Name for this OSPF vrf";7443                "Name for this OSPF vrf";
7414              leaf vrf-name {7444              leaf vrf-name {
7415                type xr:Cisco-ios-xr-string {7445                type xr:Cisco-ios-xr-string {
7416                  length "1..32" {7446                  length "1..32" {
7417                    description7447                    description
7418                      "Name for this OSPF vrf (must not be 'default')";7448                      "Name for this OSPF vrf (must not be 'default')";
7419                  }7449                  }
7420                }7450                }
7421                description7451                description
7422                  "Name for this OSPF vrf";7452                  "Name for this OSPF vrf";
7423              }7453              }
7424              container domain-id {7454              container domain-id {
7425                description7455                description
7426                  "Specify domain id";7456                  "Specify domain id";
7427                leaf type {7457                leaf type {
7428                  type enumeration {7458                  type enumeration {
7429                    enum "0005" {7459                    enum "0005" {
7430                      value 5;7460                      value 5;
7431                      description7461                      description
7432                        " Type 0x0005";7462                        " Type 0x0005";
7433                    }7463                    }
7434                    enum "0105" {7464                    enum "0105" {
7435                      value 261;7465                      value 261;
7436                      description7466                      description
7437                        " Type 0x0105";7467                        " Type 0x0105";
7438                    }7468                    }
7439                    enum "0205" {7469                    enum "0205" {
7440                      value 517;7470                      value 517;
7441                      description7471                      description
7442                        " Type 0x0205";7472                        " Type 0x0205";
7443                    }7473                    }
7444                    enum "8005" {7474                    enum "8005" {
7445                      value 32773;7475                      value 32773;
7446                      description7476                      description
7447                        " Type 0x8005";7477                        " Type 0x8005";
7448                    }7478                    }
7449                  }7479                  }
7450                  description7480                  description
7451                    "Primary OSPF domain ID type in Hex format";7481                    "Primary OSPF domain ID type in Hex format";
7452                }7482                }
7453                leaf value {7483                leaf value {
7454                  type string {7484                  type string {
7455                    length "1..1024" {7485                    length "1..1024" {
7456                      description7486                      description
7457                        "OSPF domain ID ext. community value in Hex (6 octets)";7487                        "OSPF domain ID ext. community value in Hex (6 octets)";
7458                    }7488                    }
7459                  }7489                  }
7460                  description7490                  description
7461                    "OSPF domain ID value in Hex format";7491                    "OSPF domain ID value in Hex format";
7462                }7492                }
7463                container secondaries {7493                container secondaries {
7464                  description7494                  description
7465                    "OSPF secondary domain-id";7495                    "OSPF secondary domain-id";
7466                  list secondary {7496                  list secondary {
7467                    key "type value";7497                    key "type value";
7468                    description7498                    description
7469                      "OSPF domain ID type in Hex format";7499                      "OSPF domain ID type in Hex format";
7470                    leaf type {7500                    leaf type {
7471                      type enumeration {7501                      type enumeration {
7472                        enum "0005" {7502                        enum "0005" {
7473                          value 5;7503                          value 5;
7474                          description7504                          description
7475                            " Type 0x0005";7505                            " Type 0x0005";
7476                        }7506                        }
7477                        enum "0105" {7507                        enum "0105" {
7478                          value 261;7508                          value 261;
7479                          description7509                          description
7480                            " Type 0x0105";7510                            " Type 0x0105";
7481                        }7511                        }
7482                        enum "0205" {7512                        enum "0205" {
7483                          value 517;7513                          value 517;
7484                          description7514                          description
7485                            " Type 0x0205";7515                            " Type 0x0205";
7486                        }7516                        }
7487                        enum "8005" {7517                        enum "8005" {
7488                          value 32773;7518                          value 32773;
7489                          description7519                          description
7490                            " Type 0x8005";7520                            " Type 0x8005";
7491                        }7521                        }
7492                      }7522                      }
7493                      description7523                      description
7494                        "OSPF domain ID type in Hex format";7524                        "OSPF domain ID type in Hex format";
7495                    }7525                    }
7496                    leaf value {7526                    leaf value {
7497                      type xr:Cisco-ios-xr-string {7527                      type xr:Cisco-ios-xr-string {
7498                        length "1..1024" {7528                        length "1..1024" {
7499                          description7529                          description
7500                            "OSPF domain ID ext. community value in Hex (6 octets)";7530                            "OSPF domain ID ext. community value in Hex (6 octets)";
7501                        }7531                        }
7502                      }7532                      }
7503                      description7533                      description
7504                        "OSPF domain ID value in Hex format";7534                        "OSPF domain ID value in Hex format";
7505                    }7535                    }
7506                  }7536                  }
7507                }7537                }
7508              }7538              }
7509              leaf domain-tag {7539              leaf domain-tag {
7510                type uint32 {7540                type uint32 {
7511                  range "1..4294967295" {7541                  range "1..4294967295" {
7512                    description7542                    description
7513                      "OSPF domain tag - 32-bit value";7543                      "OSPF domain tag - 32-bit value";
7514                  }7544                  }
7515                }7545                }
7516                description7546                description
7517                  "OSPF domain tag";7547                  "OSPF domain tag";
7518              }7548              }
7519              container disable-dn-bit-check {7549              container disable-dn-bit-check {
7520                presence "Indicates a disable-dn-bit-check node is configured.";7550                presence "Indicates a disable-dn-bit-check node is configured.";
7521                description7551                description
7522                  "Disable DN bit check";7552                  "Disable DN bit check";
7523              }7553              }
7524              container log {7554              container log {
7525                description7555                description
7526                  "Log ospf info";7556                  "Log ospf info";
7527                container adjacency {7557                container adjacency {
7528                  description7558                  description
7529                    "Log adjacency state info";7559                    "Log adjacency state info";
7530                  container changes {7560                  container changes {
7531                    description7561                    description
7532                      "Log changes";7562                      "Log changes";
7533                    container detail {7563                    container detail {
7534                      must "not(../disable)";7564                      must "not(../disable)";
7535                      presence "Indicates a detail node is configured.";7565                      presence "Indicates a detail node is configured.";
7536                      description7566                      description
7537                        "Log all state changes";7567                        "Log all state changes";
7538                    }7568                    }
7539                    container disable {7569                    container disable {
7540                      must "not(../detail)";7570                      must "not(../detail)";
7541                      presence "Indicates a disable node is configured.";7571                      presence "Indicates a disable node is configured.";
7542                      description7572                      description
7543                        "Disable logging";7573                        "Disable logging";
7544                    }7574                    }
7545                  }7575                  }
7546                }7576                }
7547              }7577              }
7548              leaf router-id {7578              leaf router-id {
7549                type inet:ipv4-address-no-zone;7579                type inet:ipv4-address-no-zone;
7550                description7580                description
7551                  "configure this node";7581                  "configure this node";
7552              }7582              }
7553              container redistribute {7583              container redistribute {
7554                description7584                description
7555                  "Redistribute information from another routing protocol";7585                  "Redistribute information from another routing protocol";
7556                container connected {7586                container connected {
7557                  presence "Indicates a connected node is configured.";7587                  presence "Indicates a connected node is configured.";
7558                  description7588                  description
7559                    "Connected routes";7589                    "Connected routes";
7560                  container metric {7590                  container metric {
7561                    description7591                    description
7562                      "Metric for redistributed routes";7592                      "Metric for redistributed routes";
7563                    leaf default-metric {7593                    leaf default-metric {
7564                      type uint32 {7594                      type uint32 {
7565                        range "1..16777214" {7595                        range "1..16777214" {
7566                          description7596                          description
7567                            "OSPF default metric";7597                            "OSPF default metric";
7568                        }7598                        }
7569                      }7599                      }
7570                      description7600                      description
7571                        "OSPF default metric";7601                        "OSPF default metric";
7572                    }7602                    }
7573                    container use-rib-metric {7603                    container use-rib-metric {
7574                      presence "Indicates a use-rib-metric node is configured.";7604                      presence "Indicates a use-rib-metric node is configured.";
7575                      description7605                      description
7576                        "Use metric from RIB";7606                        "Use metric from RIB";
7577                    }7607                    }
7578                  }7608                  }
7579                  leaf tag {7609                  leaf tag {
7580                    type uint32 {7610                    type uint32 {
7581                      range "0..4294967295" {7611                      range "0..4294967295" {
7582                        description7612                        description
7583                          "32-bit tag value";7613                          "32-bit tag value";
7584                      }7614                      }
7585                    }7615                    }
7586                    description7616                    description
7587                      "Set tag for routes redistributed into OSPF";7617                      "Set tag for routes redistributed into OSPF";
7588                  }7618                  }
7589                  leaf metric-type {7619                  leaf metric-type {
7590                    type enumeration {7620                    type enumeration {
7591                      enum "1" {7621                      enum "1" {
7592                        value 1;7622                        value 1;
7593                        description7623                        description
7594                          "Set OSPF External Type 1 metrics";7624                          "Set OSPF External Type 1 metrics";
7595                      }7625                      }
7596                      enum "2" {7626                      enum "2" {
7597                        value 2;7627                        value 2;
7598                        description7628                        description
7599                          "Set OSPF External Type 2 metrics";7629                          "Set OSPF External Type 2 metrics";
7600                      }7630                      }
7601                    }7631                    }
7602                    description7632                    description
7603                      "OSPF exterior metric type for redistributed routes";7633                      "OSPF exterior metric type for redistributed routes";
7604                  }7634                  }
7605                  container lsa-type {7635                  container lsa-type {
7606                    description7636                    description
7607                      "LSA type for redistributed routes";7637                      "LSA type for redistributed routes";
7608                    container summary {7638                    container summary {
7609                      presence "Indicates a summary node is configured.";7639                      presence "Indicates a summary node is configured.";
7610                      description7640                      description
7611                        "LSA type 3";7641                        "LSA type 3";
7612                    }7642                    }
7613                  }7643                  }
7614                  leaf route-policy {7644                  leaf route-policy {
7615                    type xr:Route-policy-name;7645                    type xr:Route-policy-name;
7616                    description7646                    description
7617                      "Apply route-policy to redistribution";7647                      "Apply route-policy to redistribution";
7618                  }7648                  }
7619                  container nssa-only {7649                  container nssa-only {
7620                    presence "Indicates a nssa-only node is configured.";7650                    presence "Indicates a nssa-only node is configured.";
7621                    description7651                    description
7622                      "Redistribute to NSSA areas only";7652                      "Redistribute to NSSA areas only";
7623                  }7653                  }
7624                }7654                }
7625                container static {7655                container static {
7626                  presence "Indicates a static node is configured.";7656                  presence "Indicates a static node is configured.";
7627                  description7657                  description
7628                    "Static routes";7658                    "Static routes";
7629                  container metric {7659                  container metric {
7630                    description7660                    description
7631                      "Metric for redistributed routes";7661                      "Metric for redistributed routes";
7632                    leaf default-metric {7662                    leaf default-metric {
7633                      type uint32 {7663                      type uint32 {
7634                        range "1..16777214" {7664                        range "1..16777214" {
7635                          description7665                          description
7636                            "OSPF default metric";7666                            "OSPF default metric";
7637                        }7667                        }
7638                      }7668                      }
7639                      description7669                      description
7640                        "OSPF default metric";7670                        "OSPF default metric";
7641                    }7671                    }
7642                    container use-rib-metric {7672                    container use-rib-metric {
7643                      presence "Indicates a use-rib-metric node is configured.";7673                      presence "Indicates a use-rib-metric node is configured.";
7644                      description7674                      description
7645                        "Use metric from RIB";7675                        "Use metric from RIB";
7646                    }7676                    }
7647                  }7677                  }
7648                  leaf tag {7678                  leaf tag {
7649                    type uint32 {7679                    type uint32 {
7650                      range "0..4294967295" {7680                      range "0..4294967295" {
7651                        description7681                        description
7652                          "32-bit tag value";7682                          "32-bit tag value";
7653                      }7683                      }
7654                    }7684                    }
7655                    description7685                    description
7656                      "Set tag for routes redistributed into OSPF";7686                      "Set tag for routes redistributed into OSPF";
7657                  }7687                  }
7658                  leaf metric-type {7688                  leaf metric-type {
7659                    type enumeration {7689                    type enumeration {
7660                      enum "1" {7690                      enum "1" {
7661                        value 1;7691                        value 1;
7662                        description7692                        description
7663                          "Set OSPF External Type 1 metrics";7693                          "Set OSPF External Type 1 metrics";
7664                      }7694                      }
7665                      enum "2" {7695                      enum "2" {
7666                        value 2;7696                        value 2;
7667                        description7697                        description
7668                          "Set OSPF External Type 2 metrics";7698                          "Set OSPF External Type 2 metrics";
7669                      }7699                      }
7670                    }7700                    }
7671                    description7701                    description
7672                      "OSPF exterior metric type for redistributed routes";7702                      "OSPF exterior metric type for redistributed routes";
7673                  }7703                  }
7674                  container lsa-type {7704                  container lsa-type {
7675                    description7705                    description
7676                      "LSA type for redistributed routes";7706                      "LSA type for redistributed routes";
7677                    container summary {7707                    container summary {
7678                      presence "Indicates a summary node is configured.";7708                      presence "Indicates a summary node is configured.";
7679                      description7709                      description
7680                        "LSA type 3";7710                        "LSA type 3";
7681                    }7711                    }
7682                  }7712                  }
7683                  leaf route-policy {7713                  leaf route-policy {
7684                    type xr:Route-policy-name;7714                    type xr:Route-policy-name;
7685                    description7715                    description
7686                      "Apply route-policy to redistribution";7716                      "Apply route-policy to redistribution";
7687                  }7717                  }
7688                  container nssa-only {7718                  container nssa-only {
7689                    presence "Indicates a nssa-only node is configured.";7719                    presence "Indicates a nssa-only node is configured.";
7690                    description7720                    description
7691                      "Redistribute to NSSA areas only";7721                      "Redistribute to NSSA areas only";
7692                  }7722                  }
7693                }7723                }
7694                container dagr {7724                container dagr {
7695                  presence "Indicates a dagr node is configured.";7725                  presence "Indicates a dagr node is configured.";
7696                  description7726                  description
7697                    "Directed-attached gateway redundancy (DAGR)";7727                    "Directed-attached gateway redundancy (DAGR)";
7698                  container metric {7728                  container metric {
7699                    description7729                    description
7700                      "Metric for redistributed routes";7730                      "Metric for redistributed routes";
7701                    leaf default-metric {7731                    leaf default-metric {
7702                      type uint32 {7732                      type uint32 {
7703                        range "1..16777214" {7733                        range "1..16777214" {
7704                          description7734                          description
7705                            "OSPF default metric";7735                            "OSPF default metric";
7706                        }7736                        }
7707                      }7737                      }
7708                      description7738                      description
7709                        "OSPF default metric";7739                        "OSPF default metric";
7710                    }7740                    }
7711                    container use-rib-metric {7741                    container use-rib-metric {
7712                      presence "Indicates a use-rib-metric node is configured.";7742                      presence "Indicates a use-rib-metric node is configured.";
7713                      description7743                      description
7714                        "Use metric from RIB";7744                        "Use metric from RIB";
7715                    }7745                    }
7716                  }7746                  }
7717                  leaf tag {7747                  leaf tag {
7718                    type uint32 {7748                    type uint32 {
7719                      range "0..4294967295" {7749                      range "0..4294967295" {
7720                        description7750                        description
7721                          "32-bit tag value";7751                          "32-bit tag value";
7722                      }7752                      }
7723                    }7753                    }
7724                    description7754                    description
7725                      "Set tag for routes redistributed into OSPF";7755                      "Set tag for routes redistributed into OSPF";
7726                  }7756                  }
7727                  leaf metric-type {7757                  leaf metric-type {
7728                    type enumeration {7758                    type enumeration {
7729                      enum "1" {7759                      enum "1" {
7730                        value 1;7760                        value 1;
7731                        description7761                        description
7732                          "Set OSPF External Type 1 metrics";7762                          "Set OSPF External Type 1 metrics";
7733                      }7763                      }
7734                      enum "2" {7764                      enum "2" {
7735                        value 2;7765                        value 2;
7736                        description7766                        description
7737                          "Set OSPF External Type 2 metrics";7767                          "Set OSPF External Type 2 metrics";
7738                      }7768                      }
7739                    }7769                    }
7740                    description7770                    description
7741                      "OSPF exterior metric type for redistributed routes";7771                      "OSPF exterior metric type for redistributed routes";
7742                  }7772                  }
7743                  container lsa-type {7773                  container lsa-type {
7744                    description7774                    description
7745                      "LSA type for redistributed routes";7775                      "LSA type for redistributed routes";
7746                    container summary {7776                    container summary {
7747                      presence "Indicates a summary node is configured.";7777                      presence "Indicates a summary node is configured.";
7748                      description7778                      description
7749                        "LSA type 3";7779                        "LSA type 3";
7750                    }7780                    }
7751                  }7781                  }
7752                  leaf route-policy {7782                  leaf route-policy {
7753                    type xr:Route-policy-name;7783                    type xr:Route-policy-name;
7754                    description7784                    description
7755                      "Apply route-policy to redistribution";7785                      "Apply route-policy to redistribution";
7756                  }7786                  }
7757                  container nssa-only {7787                  container nssa-only {
7758                    presence "Indicates a nssa-only node is configured.";7788                    presence "Indicates a nssa-only node is configured.";
7759                    description7789                    description
7760                      "Redistribute to NSSA areas only";7790                      "Redistribute to NSSA areas only";
7761                  }7791                  }
7762                }7792                }
7763                container subscriber {7793                container subscriber {
7764                  presence "Indicates a subscriber node is configured.";7794                  presence "Indicates a subscriber node is configured.";
7765                  description7795                  description
7766                    "Subscriber routes";7796                    "Subscriber routes";
7767                  container metric {7797                  container metric {
7768                    description7798                    description
7769                      "Metric for redistributed routes";7799                      "Metric for redistributed routes";
7770                    leaf default-metric {7800                    leaf default-metric {
7771                      type uint32 {7801                      type uint32 {
7772                        range "1..16777214" {7802                        range "1..16777214" {
7773                          description7803                          description
7774                            "OSPF default metric";7804                            "OSPF default metric";
7775                        }7805                        }
7776                      }7806                      }
7777                      description7807                      description
7778                        "OSPF default metric";7808                        "OSPF default metric";
7779                    }7809                    }
7780                    container use-rib-metric {7810                    container use-rib-metric {
7781                      presence "Indicates a use-rib-metric node is configured.";7811                      presence "Indicates a use-rib-metric node is configured.";
7782                      description7812                      description
7783                        "Use metric from RIB";7813                        "Use metric from RIB";
7784                    }7814                    }
7785                  }7815                  }
7786                  leaf tag {7816                  leaf tag {
7787                    type uint32 {7817                    type uint32 {
7788                      range "0..4294967295" {7818                      range "0..4294967295" {
7789                        description7819                        description
7790                          "32-bit tag value";7820                          "32-bit tag value";
7791                      }7821                      }
7792                    }7822                    }
7793                    description7823                    description
7794                      "Set tag for routes redistributed into OSPF";7824                      "Set tag for routes redistributed into OSPF";
7795                  }7825                  }
7796                  leaf metric-type {7826                  leaf metric-type {
7797                    type enumeration {7827                    type enumeration {
7798                      enum "1" {7828                      enum "1" {
7799                        value 1;7829                        value 1;
7800                        description7830                        description
7801                          "Set OSPF External Type 1 metrics";7831                          "Set OSPF External Type 1 metrics";
7802                      }7832                      }
7803                      enum "2" {7833                      enum "2" {
7804                        value 2;7834                        value 2;
7805                        description7835                        description
7806                          "Set OSPF External Type 2 metrics";7836                          "Set OSPF External Type 2 metrics";
7807                      }7837                      }
7808                    }7838                    }
7809                    description7839                    description
7810                      "OSPF exterior metric type for redistributed routes";7840                      "OSPF exterior metric type for redistributed routes";
7811                  }7841                  }
7812                  container lsa-type {7842                  container lsa-type {
7813                    description7843                    description
7814                      "LSA type for redistributed routes";7844                      "LSA type for redistributed routes";
7815                    container summary {7845                    container summary {
7816                      presence "Indicates a summary node is configured.";7846                      presence "Indicates a summary node is configured.";
7817                      description7847                      description
7818                        "LSA type 3";7848                        "LSA type 3";
7819                    }7849                    }
7820                  }7850                  }
7821                  leaf route-policy {7851                  leaf route-policy {
7822                    type xr:Route-policy-name;7852                    type xr:Route-policy-name;
7823                    description7853                    description
7824                      "Apply route-policy to redistribution";7854                      "Apply route-policy to redistribution";
7825                  }7855                  }
7826                  container nssa-only {7856                  container nssa-only {
7827                    presence "Indicates a nssa-only node is configured.";7857                    presence "Indicates a nssa-only node is configured.";
7828                    description7858                    description
7829                      "Redistribute to NSSA areas only";7859                      "Redistribute to NSSA areas only";
7830                  }7860                  }
7831                }7861                }
7832                container mobile {7862                container mobile {
7833                  presence "Indicates a mobile node is configured.";7863                  presence "Indicates a mobile node is configured.";
7834                  description7864                  description
7835                    "Mobile routes";7865                    "Mobile routes";
7836                  container metric {7866                  container metric {
7837                    description7867                    description
7838                      "Metric for redistributed routes";7868                      "Metric for redistributed routes";
7839                    leaf default-metric {7869                    leaf default-metric {
7840                      type uint32 {7870                      type uint32 {
7841                        range "1..16777214" {7871                        range "1..16777214" {
7842                          description7872                          description
7843                            "OSPF default metric";7873                            "OSPF default metric";
7844                        }7874                        }
7845                      }7875                      }
7846                      description7876                      description
7847                        "OSPF default metric";7877                        "OSPF default metric";
7848                    }7878                    }
7849                    container use-rib-metric {7879                    container use-rib-metric {
7850                      presence "Indicates a use-rib-metric node is configured.";7880                      presence "Indicates a use-rib-metric node is configured.";
7851                      description7881                      description
7852                        "Use metric from RIB";7882                        "Use metric from RIB";
7853                    }7883                    }
7854                  }7884                  }
7855                  leaf tag {7885                  leaf tag {
7856                    type uint32 {7886                    type uint32 {
7857                      range "0..4294967295" {7887                      range "0..4294967295" {
7858                        description7888                        description
7859                          "32-bit tag value";7889                          "32-bit tag value";
7860                      }7890                      }
7861                    }7891                    }
7862                    description7892                    description
7863                      "Set tag for routes redistributed into OSPF";7893                      "Set tag for routes redistributed into OSPF";
7864                  }7894                  }
7865                  leaf metric-type {7895                  leaf metric-type {
7866                    type enumeration {7896                    type enumeration {
7867                      enum "1" {7897                      enum "1" {
7868                        value 1;7898                        value 1;
7869                        description7899                        description
7870                          "Set OSPF External Type 1 metrics";7900                          "Set OSPF External Type 1 metrics";
7871                      }7901                      }
7872                      enum "2" {7902                      enum "2" {
7873                        value 2;7903                        value 2;
7874                        description7904                        description
7875                          "Set OSPF External Type 2 metrics";7905                          "Set OSPF External Type 2 metrics";
7876                      }7906                      }
7877                    }7907                    }
7878                    description7908                    description
7879                      "OSPF exterior metric type for redistributed routes";7909                      "OSPF exterior metric type for redistributed routes";
7880                  }7910                  }
7881                  container lsa-type {7911                  container lsa-type {
7882                    description7912                    description
7883                      "LSA type for redistributed routes";7913                      "LSA type for redistributed routes";
7884                    container summary {7914                    container summary {
7885                      presence "Indicates a summary node is configured.";7915                      presence "Indicates a summary node is configured.";
7886                      description7916                      description
7887                        "LSA type 3";7917                        "LSA type 3";
7888                    }7918                    }
7889                  }7919                  }
7890                  leaf route-policy {7920                  leaf route-policy {
7891                    type xr:Route-policy-name;7921                    type xr:Route-policy-name;
7892                    description7922                    description
7893                      "Apply route-policy to redistribution";7923                      "Apply route-policy to redistribution";
7894                  }7924                  }
7895                  container nssa-only {7925                  container nssa-only {
7896                    presence "Indicates a nssa-only node is configured.";7926                    presence "Indicates a nssa-only node is configured.";
7897                    description7927                    description
7898                      "Redistribute to NSSA areas only";7928                      "Redistribute to NSSA areas only";
7899                  }7929                  }
7900                }7930                }
7901                container applications {7931                container applications {
7902                  description7932                  description
7903                    "OnePK application routes";7933                    "OnePK application routes";
7904                  list application {7934                  list application {
7905                    key "application-name";7935                    key "application-name";
7906                    description7936                    description
7907                      "OnePK application routes";7937                      "OnePK application routes";
7908                    leaf application-name {7938                    leaf application-name {
7909                      type xr:Cisco-ios-xr-string {7939                      type xr:Cisco-ios-xr-string {
7910                        length "1..1024" {7940                        length "1..1024" {
7911                          description7941                          description
7912                            "OnePK Application name";7942                            "OnePK Application name";
7913                        }7943                        }
7914                      }7944                      }
7915                      description7945                      description
7916                        "OnePK application routes";7946                        "OnePK application routes";
7917                    }7947                    }
7918                    container metric {7948                    container metric {
7919                      description7949                      description
7920                        "Metric for redistributed routes";7950                        "Metric for redistributed routes";
7921                      leaf default-metric {7951                      leaf default-metric {
7922                        type uint32 {7952                        type uint32 {
7923                          range "1..16777214" {7953                          range "1..16777214" {
7924                            description7954                            description
7925                              "OSPF default metric";7955                              "OSPF default metric";
7926                          }7956                          }
7927                        }7957                        }
7928                        description7958                        description
7929                          "OSPF default metric";7959                          "OSPF default metric";
7930                      }7960                      }
7931                      container use-rib-metric {7961                      container use-rib-metric {
7932                        presence "Indicates a use-rib-metric node is configured.";7962                        presence "Indicates a use-rib-metric node is configured.";
7933                        description7963                        description
7934                          "Use metric from RIB";7964                          "Use metric from RIB";
7935                      }7965                      }
7936                    }7966                    }
7937                    leaf tag {7967                    leaf tag {
7938                      type uint32 {7968                      type uint32 {
7939                        range "0..4294967295" {7969                        range "0..4294967295" {
7940                          description7970                          description
7941                            "32-bit tag value";7971                            "32-bit tag value";
7942                        }7972                        }
7943                      }7973                      }
7944                      description7974                      description
7945                        "Set tag for routes redistributed into OSPF";7975                        "Set tag for routes redistributed into OSPF";
7946                    }7976                    }
7947                    leaf metric-type {7977                    leaf metric-type {
7948                      type enumeration {7978                      type enumeration {
7949                        enum "1" {7979                        enum "1" {
7950                          value 1;7980                          value 1;
7951                          description7981                          description
7952                            "Set OSPF External Type 1 metrics";7982                            "Set OSPF External Type 1 metrics";
7953                        }7983                        }
7954                        enum "2" {7984                        enum "2" {
7955                          value 2;7985                          value 2;
7956                          description7986                          description
7957                            "Set OSPF External Type 2 metrics";7987                            "Set OSPF External Type 2 metrics";
7958                        }7988                        }
7959                      }7989                      }
7960                      description7990                      description
7961                        "OSPF exterior metric type for redistributed routes";7991                        "OSPF exterior metric type for redistributed routes";
7962                    }7992                    }
7963                    container lsa-type {7993                    container lsa-type {
7964                      description7994                      description
7965                        "LSA type for redistributed routes";7995                        "LSA type for redistributed routes";
7966                      container summary {7996                      container summary {
7967                        presence "Indicates a summary node is configured.";7997                        presence "Indicates a summary node is configured.";
7968                        description7998                        description
7969                          "LSA type 3";7999                          "LSA type 3";
7970                      }8000                      }
7971                    }8001                    }
7972                    leaf route-policy {8002                    leaf route-policy {
7973                      type xr:Route-policy-name;8003                      type xr:Route-policy-name;
7974                      description8004                      description
7975                        "Apply route-policy to redistribution";8005                        "Apply route-policy to redistribution";
7976                    }8006                    }
7977                    container nssa-only {8007                    container nssa-only {
7978                      presence "Indicates a nssa-only node is configured.";8008                      presence "Indicates a nssa-only node is configured.";
7979                      description8009                      description
7980                        "Redistribute to NSSA areas only";8010                        "Redistribute to NSSA areas only";
7981                    }8011                    }
7982                  }8012                  }
7983                }8013                }
7984                list eigrp {8014                list eigrp {
7985                  key "as-number";8015                  key "as-number";
7986                  description8016                  description
7987                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";8017                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";
7988                  leaf as-number {8018                  leaf as-number {
7989                    type uint32 {8019                    type uint32 {
7990                      range "1..65535" {8020                      range "1..65535" {
7991                        description8021                        description
7992                          "Autonomous system number";8022                          "Autonomous system number";
7993                      }8023                      }
7994                    }8024                    }
7995                    description8025                    description
7996                      "Enhanced Interior Gateway Routing Protocol (EIGRP)";8026                      "Enhanced Interior Gateway Routing Protocol (EIGRP)";
7997                  }8027                  }
7998                  container match {8028                  container match {
7999                    description8029                    description
8000                      "Redistribution of EIGRP routes";8030                      "Redistribution of EIGRP routes";
8001                    container internal {8031                    container internal {
8002                      presence "Indicates a internal node is configured.";8032                      presence "Indicates a internal node is configured.";
8003                      description8033                      description
8004                        "Redistribute EIGRP internal routes";8034                        "Redistribute EIGRP internal routes";
8005                    }8035                    }
8006                    container external {8036                    container external {
8007                      presence "Indicates a external node is configured.";8037                      presence "Indicates a external node is configured.";
8008                      description8038                      description
8009                        "Redistribute EIGRP external routes";8039                        "Redistribute EIGRP external routes";
8010                    }8040                    }
8011                  }8041                  }
8012                  container metric {8042                  container metric {
8013                    description8043                    description
8014                      "Metric for redistributed routes";8044                      "Metric for redistributed routes";
8015                    leaf default-metric {8045                    leaf default-metric {
8016                      type uint32 {8046                      type uint32 {
8017                        range "1..16777214" {8047                        range "1..16777214" {
8018                          description8048                          description
8019                            "OSPF default metric";8049                            "OSPF default metric";
8020                        }8050                        }
8021                      }8051                      }
8022                      description8052                      description
8023                        "OSPF default metric";8053                        "OSPF default metric";
8024                    }8054                    }
8025                    container use-rib-metric {8055                    container use-rib-metric {
8026                      presence "Indicates a use-rib-metric node is configured.";8056                      presence "Indicates a use-rib-metric node is configured.";
8027                      description8057                      description
8028                        "Use metric from RIB";8058                        "Use metric from RIB";
8029                    }8059                    }
8030                  }8060                  }
8031                  leaf tag {8061                  leaf tag {
8032                    type uint32 {8062                    type uint32 {
8033                      range "0..4294967295" {8063                      range "0..4294967295" {
8034                        description8064                        description
8035                          "32-bit tag value";8065                          "32-bit tag value";
8036                      }8066                      }
8037                    }8067                    }
8038                    description8068                    description
8039                      "Set tag for routes redistributed into OSPF";8069                      "Set tag for routes redistributed into OSPF";
8040                  }8070                  }
8041                  leaf metric-type {8071                  leaf metric-type {
8042                    type enumeration {8072                    type enumeration {
8043                      enum "1" {8073                      enum "1" {
8044                        value 1;8074                        value 1;
8045                        description8075                        description
8046                          "Set OSPF External Type 1 metrics";8076                          "Set OSPF External Type 1 metrics";
8047                      }8077                      }
8048                      enum "2" {8078                      enum "2" {
8049                        value 2;8079                        value 2;
8050                        description8080                        description
8051                          "Set OSPF External Type 2 metrics";8081                          "Set OSPF External Type 2 metrics";
8052                      }8082                      }
8053                    }8083                    }
8054                    description8084                    description
8055                      "OSPF exterior metric type for redistributed routes";8085                      "OSPF exterior metric type for redistributed routes";
8056                  }8086                  }
8057                  container lsa-type {8087                  container lsa-type {
8058                    description8088                    description
8059                      "LSA type for redistributed routes";8089                      "LSA type for redistributed routes";
8060                    container summary {8090                    container summary {
8061                      presence "Indicates a summary node is configured.";8091                      presence "Indicates a summary node is configured.";
8062                      description8092                      description
8063                        "LSA type 3";8093                        "LSA type 3";
8064                    }8094                    }
8065                  }8095                  }
8066                  leaf route-policy {8096                  leaf route-policy {
8067                    type xr:Route-policy-name;8097                    type xr:Route-policy-name;
8068                    description8098                    description
8069                      "Apply route-policy to redistribution";8099                      "Apply route-policy to redistribution";
8070                  }8100                  }
8071                  container nssa-only {8101                  container nssa-only {
8072                    presence "Indicates a nssa-only node is configured.";8102                    presence "Indicates a nssa-only node is configured.";
8073                    description8103                    description
8074                      "Redistribute to NSSA areas only";8104                      "Redistribute to NSSA areas only";
8075                  }8105                  }
8076                }8106                }
8077                container rip {8107                container rip {
8078                  presence "Indicates a rip node is configured.";8108                  presence "Indicates a rip node is configured.";
8079                  description8109                  description
8080                    "Routing Information Protocol (RIP)";8110                    "Routing Information Protocol (RIP)";
8081                  container metric {8111                  container metric {
8082                    description8112                    description
8083                      "Metric for redistributed routes";8113                      "Metric for redistributed routes";
8084                    leaf default-metric {8114                    leaf default-metric {
8085                      type uint32 {8115                      type uint32 {
8086                        range "1..16777214" {8116                        range "1..16777214" {
8087                          description8117                          description
8088                            "OSPF default metric";8118                            "OSPF default metric";
8089                        }8119                        }
8090                      }8120                      }
8091                      description8121                      description
8092                        "OSPF default metric";8122                        "OSPF default metric";
8093                    }8123                    }
8094                    container use-rib-metric {8124                    container use-rib-metric {
8095                      presence "Indicates a use-rib-metric node is configured.";8125                      presence "Indicates a use-rib-metric node is configured.";
8096                      description8126                      description
8097                        "Use metric from RIB";8127                        "Use metric from RIB";
8098                    }8128                    }
8099                  }8129                  }
8100                  leaf tag {8130                  leaf tag {
8101                    type uint32 {8131                    type uint32 {
8102                      range "0..4294967295" {8132                      range "0..4294967295" {
8103                        description8133                        description
8104                          "32-bit tag value";8134                          "32-bit tag value";
8105                      }8135                      }
8106                    }8136                    }
8107                    description8137                    description
8108                      "Set tag for routes redistributed into OSPF";8138                      "Set tag for routes redistributed into OSPF";
8109                  }8139                  }
8110                  leaf metric-type {8140                  leaf metric-type {
8111                    type enumeration {8141                    type enumeration {
8112                      enum "1" {8142                      enum "1" {
8113                        value 1;8143                        value 1;
8114                        description8144                        description
8115                          "Set OSPF External Type 1 metrics";8145                          "Set OSPF External Type 1 metrics";
8116                      }8146                      }
8117                      enum "2" {8147                      enum "2" {
8118                        value 2;8148                        value 2;
8119                        description8149                        description
8120                          "Set OSPF External Type 2 metrics";8150                          "Set OSPF External Type 2 metrics";
8121                      }8151                      }
8122                    }8152                    }
8123                    description8153                    description
8124                      "OSPF exterior metric type for redistributed routes";8154                      "OSPF exterior metric type for redistributed routes";
8125                  }8155                  }
8126                  container lsa-type {8156                  container lsa-type {
8127                    description8157                    description
8128                      "LSA type for redistributed routes";8158                      "LSA type for redistributed routes";
8129                    container summary {8159                    container summary {
8130                      presence "Indicates a summary node is configured.";8160                      presence "Indicates a summary node is configured.";
8131                      description8161                      description
8132                        "LSA type 3";8162                        "LSA type 3";
8133                    }8163                    }
8134                  }8164                  }
8135                  leaf route-policy {8165                  leaf route-policy {
8136                    type xr:Route-policy-name;8166                    type xr:Route-policy-name;
8137                    description8167                    description
8138                      "Apply route-policy to redistribution";8168                      "Apply route-policy to redistribution";
8139                  }8169                  }
8140                  container nssa-only {8170                  container nssa-only {
8141                    presence "Indicates a nssa-only node is configured.";8171                    presence "Indicates a nssa-only node is configured.";
8142                    description8172                    description
8143                      "Redistribute to NSSA areas only";8173                      "Redistribute to NSSA areas only";
8144                  }8174                  }
8145                }8175                }
8146                container bgp {8176                container bgp {
8147                  description8177                  description
8148                    "Border Gateway Protocol (BGP)";8178                    "Border Gateway Protocol (BGP)";
8149                  list as {8179                  list as {
8150                    key "as-number";8180                    key "as-number";
8151                    description8181                    description
8152                      "bgp as-number";8182                      "bgp as-number";
8153                    leaf as-number {8183                    leaf as-number {
8154                      type xr:Bgp-as-number;8184                      type xr:Bgp-as-number;
8155                      description8185                      description
8156                        "bgp as-number";8186                        "bgp as-number";
8157                    }8187                    }
8158                    container preserve-med {8188                    container preserve-med {
8159                      presence "Indicates a preserve-med node is configured.";8189                      presence "Indicates a preserve-med node is configured.";
8160                      description8190                      description
8161                        "Preserve med of BGP routes";8191                        "Preserve med of BGP routes";
8162                    }8192                    }
8163                    container preserve-bgp-default-info {8193                    container preserve-bgp-default-info {
8164                      presence "Indicates a preserve-bgp-default-info node is configured.";8194                      presence "Indicates a preserve-bgp-default-info node is configured.";
8165                      description8195                      description
8166                        "Preserve metric and metric-type of BGP default route";8196                        "Preserve metric and metric-type of BGP default route";
8167                    }8197                    }
8168                    container metric {8198                    container metric {
8169                      description8199                      description
8170                        "Metric for redistributed routes";8200                        "Metric for redistributed routes";
8171                      leaf default-metric {8201                      leaf default-metric {
8172                        type uint32 {8202                        type uint32 {
8173                          range "1..16777214" {8203                          range "1..16777214" {
8174                            description8204                            description
8175                              "OSPF default metric";8205                              "OSPF default metric";
8176                          }8206                          }
8177                        }8207                        }
8178                        description8208                        description
8179                          "OSPF default metric";8209                          "OSPF default metric";
8180                      }8210                      }
8181                      container use-rib-metric {8211                      container use-rib-metric {
8182                        presence "Indicates a use-rib-metric node is configured.";8212                        presence "Indicates a use-rib-metric node is configured.";
8183                        description8213                        description
8184                          "Use metric from RIB";8214                          "Use metric from RIB";
8185                      }8215                      }
8186                    }8216                    }
8187                    leaf tag {8217                    leaf tag {
8188                      type uint32 {8218                      type uint32 {
8189                        range "0..4294967295" {8219                        range "0..4294967295" {
8190                          description8220                          description
8191                            "32-bit tag value";8221                            "32-bit tag value";
8192                        }8222                        }
8193                      }8223                      }
8194                      description8224                      description
8195                        "Set tag for routes redistributed into OSPF";8225                        "Set tag for routes redistributed into OSPF";
8196                    }8226                    }
8197                    leaf metric-type {8227                    leaf metric-type {
8198                      type enumeration {8228                      type enumeration {
8199                        enum "1" {8229                        enum "1" {
8200                          value 1;8230                          value 1;
8201                          description8231                          description
8202                            "Set OSPF External Type 1 metrics";8232                            "Set OSPF External Type 1 metrics";
8203                        }8233                        }
8204                        enum "2" {8234                        enum "2" {
8205                          value 2;8235                          value 2;
8206                          description8236                          description
8207                            "Set OSPF External Type 2 metrics";8237                            "Set OSPF External Type 2 metrics";
8208                        }8238                        }
8209                      }8239                      }
8210                      description8240                      description
8211                        "OSPF exterior metric type for redistributed routes";8241                        "OSPF exterior metric type for redistributed routes";
8212                    }8242                    }
8213                    container lsa-type {8243                    container lsa-type {
8214                      description8244                      description
8215                        "LSA type for redistributed routes";8245                        "LSA type for redistributed routes";
8216                      container summary {8246                      container summary {
8217                        presence "Indicates a summary node is configured.";8247                        presence "Indicates a summary node is configured.";
8218                        description8248                        description
8219                          "LSA type 3";8249                          "LSA type 3";
8220                      }8250                      }
8221                    }8251                    }
8222                    leaf route-policy {8252                    leaf route-policy {
8223                      type xr:Route-policy-name;8253                      type xr:Route-policy-name;
8224                      description8254                      description
8225                        "Apply route-policy to redistribution";8255                        "Apply route-policy to redistribution";
8226                    }8256                    }
8227                    container nssa-only {8257                    container nssa-only {
8228                      presence "Indicates a nssa-only node is configured.";8258                      presence "Indicates a nssa-only node is configured.";
8229                      description8259                      description
8230                        "Redistribute to NSSA areas only";8260                        "Redistribute to NSSA areas only";
8231                    }8261                    }
8232                  }8262                  }
8233                }8263                }
8234                list isis {8264                list isis {
8235                  key "instance-name";8265                  key "instance-name";
8236                  description8266                  description
8237                    "ISO IS-IS";8267                    "ISO IS-IS";
8238                  leaf instance-name {8268                  leaf instance-name {
8239                    type string {8269                    type string {
8240                      length "1..1024" {8270                      length "1..1024" {
8241                        description8271                        description
8242                          "IS-IS instance name";8272                          "IS-IS instance name";
8243                      }8273                      }
8244                    }8274                    }
8245                    description8275                    description
8246                      "ISO IS-IS";8276                      "ISO IS-IS";
8247                  }8277                  }
8248                  container level-1 {8278                  container level-1 {
8249                    presence "Indicates a level-1 node is configured.";8279                    presence "Indicates a level-1 node is configured.";
8250                    description8280                    description
8251                      "IS-IS level-1 routes only";8281                      "IS-IS level-1 routes only";
8252                  }8282                  }
8253                  container level-2 {8283                  container level-2 {
8254                    presence "Indicates a level-2 node is configured.";8284                    presence "Indicates a level-2 node is configured.";
8255                    description8285                    description
8256                      "IS-IS level-2 routes only";8286                      "IS-IS level-2 routes only";
8257                  }8287                  }
8258                  container level-1-2 {8288                  container level-1-2 {
8259                    presence "Indicates a level-1-2 node is configured.";8289                    presence "Indicates a level-1-2 node is configured.";
8260                    description8290                    description
8261                      "IS-IS level-1 and level-2 routes";8291                      "IS-IS level-1 and level-2 routes";
8262                  }8292                  }
8263                  container metric {8293                  container metric {
8264                    description8294                    description
8265                      "Metric for redistributed routes";8295                      "Metric for redistributed routes";
8266                    leaf default-metric {8296                    leaf default-metric {
8267                      type uint32 {8297                      type uint32 {
8268                        range "1..16777214" {8298                        range "1..16777214" {
8269                          description8299                          description
8270                            "OSPF default metric";8300                            "OSPF default metric";
8271                        }8301                        }
8272                      }8302                      }
8273                      description8303                      description
8274                        "OSPF default metric";8304                        "OSPF default metric";
8275                    }8305                    }
8276                    container use-rib-metric {8306                    container use-rib-metric {
8277                      presence "Indicates a use-rib-metric node is configured.";8307                      presence "Indicates a use-rib-metric node is configured.";
8278                      description8308                      description
8279                        "Use metric from RIB";8309                        "Use metric from RIB";
8280                    }8310                    }
8281                  }8311                  }
8282                  leaf tag {8312                  leaf tag {
8283                    type uint32 {8313                    type uint32 {
8284                      range "0..4294967295" {8314                      range "0..4294967295" {
8285                        description8315                        description
8286                          "32-bit tag value";8316                          "32-bit tag value";
8287                      }8317                      }
8288                    }8318                    }
8289                    description8319                    description
8290                      "Set tag for routes redistributed into OSPF";8320                      "Set tag for routes redistributed into OSPF";
8291                  }8321                  }
8292                  leaf metric-type {8322                  leaf metric-type {
8293                    type enumeration {8323                    type enumeration {
8294                      enum "1" {8324                      enum "1" {
8295                        value 1;8325                        value 1;
8296                        description8326                        description
8297                          "Set OSPF External Type 1 metrics";8327                          "Set OSPF External Type 1 metrics";
8298                      }8328                      }
8299                      enum "2" {8329                      enum "2" {
8300                        value 2;8330                        value 2;
8301                        description8331                        description
8302                          "Set OSPF External Type 2 metrics";8332                          "Set OSPF External Type 2 metrics";
8303                      }8333                      }
8304                    }8334                    }
8305                    description8335                    description
8306                      "OSPF exterior metric type for redistributed routes";8336                      "OSPF exterior metric type for redistributed routes";
8307                  }8337                  }
8308                  container lsa-type {8338                  container lsa-type {
8309                    description8339                    description
8310                      "LSA type for redistributed routes";8340                      "LSA type for redistributed routes";
8311                    container summary {8341                    container summary {
8312                      presence "Indicates a summary node is configured.";8342                      presence "Indicates a summary node is configured.";
8313                      description8343                      description
8314                        "LSA type 3";8344                        "LSA type 3";
8315                    }8345                    }
8316                  }8346                  }
8317                  leaf route-policy {8347                  leaf route-policy {
8318                    type xr:Route-policy-name;8348                    type xr:Route-policy-name;
8319                    description8349                    description
8320                      "Apply route-policy to redistribution";8350                      "Apply route-policy to redistribution";
8321                  }8351                  }
8322                  container nssa-only {8352                  container nssa-only {
8323                    presence "Indicates a nssa-only node is configured.";8353                    presence "Indicates a nssa-only node is configured.";
8324                    description8354                    description
8325                      "Redistribute to NSSA areas only";8355                      "Redistribute to NSSA areas only";
8326                  }8356                  }
8327                }8357                }
8328                list ospf {8358                list ospf {
8329                  key "instance-name";8359                  key "instance-name";
8330                  description8360                  description
8331                    "Open Shortest Path First (OSPF)";8361                    "Open Shortest Path First (OSPF)";
8332                  leaf instance-name {8362                  leaf instance-name {
8333                    type string {8363                    type string {
8334                      length "1..1024" {8364                      length "1..1024" {
8335                        description8365                        description
8336                          "OSPF instance name";8366                          "OSPF instance name";
8337                      }8367                      }
8338                    }8368                    }
8339                    description8369                    description
8340                      "Open Shortest Path First (OSPF)";8370                      "Open Shortest Path First (OSPF)";
8341                  }8371                  }
8342                  container match {8372                  container match {
8343                    description8373                    description
8344                      "Redistribution of OSPF routes";8374                      "Redistribution of OSPF routes";
8345                    container internal {8375                    container internal {
8346                      presence "Indicates a internal node is configured.";8376                      presence "Indicates a internal node is configured.";
8347                      description8377                      description
8348                        "Redistribute OSPF internal routes";8378                        "Redistribute OSPF internal routes";
8349                    }8379                    }
8350                    container external {8380                    container external {
8351                      presence "Indicates a external node is configured.";8381                      presence "Indicates a external node is configured.";
8352                      description8382                      description
8353                        "Redistribute OSPF external routes";8383                        "Redistribute OSPF external routes";
8354                      container one {8384                      container one {
8355                        presence "Indicates a one node is configured.";8385                        presence "Indicates a one node is configured.";
8356                        description8386                        description
8357                          "Redistribute external type 1 routes";8387                          "Redistribute external type 1 routes";
8358                      }8388                      }
8359                      container two {8389                      container two {
8360                        presence "Indicates a two node is configured.";8390                        presence "Indicates a two node is configured.";
8361                        description8391                        description
8362                          "Redistribute external type 2 routes";8392                          "Redistribute external type 2 routes";
8363                      }8393                      }
8364                    }8394                    }
8365                    container nssa-external {8395                    container nssa-external {
8366                      presence "Indicates a nssa-external node is configured.";8396                      presence "Indicates a nssa-external node is configured.";
8367                      description8397                      description
8368                        "Redistribute OSPF NSSA external routes";8398                        "Redistribute OSPF NSSA external routes";
8369                      container one {8399                      container one {
8370                        presence "Indicates a one node is configured.";8400                        presence "Indicates a one node is configured.";
8371                        description8401                        description
8372                          "Redistribute NSSA external type 1 routes";8402                          "Redistribute NSSA external type 1 routes";
8373                      }8403                      }
8374                      container two {8404                      container two {
8375                        presence "Indicates a two node is configured.";8405                        presence "Indicates a two node is configured.";
8376                        description8406                        description
8377                          "Redistribute NSSA external type 2 routes";8407                          "Redistribute NSSA external type 2 routes";
8378                      }8408                      }
8379                    }8409                    }
8380                  }8410                  }
8381                  container metric {8411                  container metric {
8382                    description8412                    description
8383                      "Metric for redistributed routes";8413                      "Metric for redistributed routes";
8384                    leaf default-metric {8414                    leaf default-metric {
8385                      type uint32 {8415                      type uint32 {
8386                        range "1..16777214" {8416                        range "1..16777214" {
8387                          description8417                          description
8388                            "OSPF default metric";8418                            "OSPF default metric";
8389                        }8419                        }
8390                      }8420                      }
8391                      description8421                      description
8392                        "OSPF default metric";8422                        "OSPF default metric";
8393                    }8423                    }
8394                    container use-rib-metric {8424                    container use-rib-metric {
8395                      presence "Indicates a use-rib-metric node is configured.";8425                      presence "Indicates a use-rib-metric node is configured.";
8396                      description8426                      description
8397                        "Use metric from RIB";8427                        "Use metric from RIB";
8398                    }8428                    }
8399                  }8429                  }
8400                  leaf tag {8430                  leaf tag {
8401                    type uint32 {8431                    type uint32 {
8402                      range "0..4294967295" {8432                      range "0..4294967295" {
8403                        description8433                        description
8404                          "32-bit tag value";8434                          "32-bit tag value";
8405                      }8435                      }
8406                    }8436                    }
8407                    description8437                    description
8408                      "Set tag for routes redistributed into OSPF";8438                      "Set tag for routes redistributed into OSPF";
8409                  }8439                  }
8410                  leaf metric-type {8440                  leaf metric-type {
8411                    type enumeration {8441                    type enumeration {
8412                      enum "1" {8442                      enum "1" {
8413                        value 1;8443                        value 1;
8414                        description8444                        description
8415                          "Set OSPF External Type 1 metrics";8445                          "Set OSPF External Type 1 metrics";
8416                      }8446                      }
8417                      enum "2" {8447                      enum "2" {
8418                        value 2;8448                        value 2;
8419                        description8449                        description
8420                          "Set OSPF External Type 2 metrics";8450                          "Set OSPF External Type 2 metrics";
8421                      }8451                      }
8422                    }8452                    }
8423                    description8453                    description
8424                      "OSPF exterior metric type for redistributed routes";8454                      "OSPF exterior metric type for redistributed routes";
8425                  }8455                  }
8426                  container lsa-type {8456                  container lsa-type {
8427                    description8457                    description
8428                      "LSA type for redistributed routes";8458                      "LSA type for redistributed routes";
8429                    container summary {8459                    container summary {
8430                      presence "Indicates a summary node is configured.";8460                      presence "Indicates a summary node is configured.";
8431                      description8461                      description
8432                        "LSA type 3";8462                        "LSA type 3";
8433                    }8463                    }
8434                  }8464                  }
8435                  leaf route-policy {8465                  leaf route-policy {
8436                    type xr:Route-policy-name;8466                    type xr:Route-policy-name;
8437                    description8467                    description
8438                      "Apply route-policy to redistribution";8468                      "Apply route-policy to redistribution";
8439                  }8469                  }
8440                  container nssa-only {8470                  container nssa-only {
8441                    presence "Indicates a nssa-only node is configured.";8471                    presence "Indicates a nssa-only node is configured.";
8442                    description8472                    description
8443                      "Redistribute to NSSA areas only";8473                      "Redistribute to NSSA areas only";
8444                  }8474                  }
8445                }8475                }
8446              }8476              }
8447              container distribute-list {8477              container distribute-list {
8448                presence "Indicates a distribute-list node is configured.";8478                presence "Indicates a distribute-list node is configured.";
8449                description8479                description
8450                  "Filter networks in routing updates";8480                  "Filter networks in routing updates";
8451                container in {8481                container in {
8452                  description8482                  description
8453                    "Filter incoming routing updates";8483                    "Filter incoming routing updates";
8454                  leaf access-list {8484                  leaf access-list {
8455                    type string {8485                    type string {
8456                      length "1..1024" {8486                      length "1..1024" {
8457                        description8487                        description
8458                          "In-bound access-list name";8488                          "In-bound access-list name";
8459                      }8489                      }
8460                    }8490                    }
8461                    description8491                    description
8462                      "In-bound access-list name";8492                      "In-bound access-list name";
8463                  }8493                  }
8464                  leaf route-policy {8494                  leaf route-policy {
8465                    type xr:Route-policy-name;8495                    type xr:Route-policy-name;
8466                    description8496                    description
8467                      "Route Policy to filter OSPF prefixes";8497                      "Route Policy to filter OSPF prefixes";
8468                  }8498                  }
8469                }8499                }
8470                container out {8500                container out {
8471                  description8501                  description
8472                    "Filter outgoing routing updates";8502                    "Filter outgoing routing updates";
8473                  leaf access-list {8503                  leaf access-list {
8474                    type string {8504                    type string {
8475                      length "1..1024" {8505                      length "1..1024" {
8476                        description8506                        description
8477                          "access-list name";8507                          "access-list name";
8478                      }8508                      }
8479                    }8509                    }
8480                    description8510                    description
8481                      "access-list name";8511                      "access-list name";
8482                  }8512                  }
8483                  container connected {8513                  container connected {
8484                    description8514                    description
8485                      "Connected";8515                      "Connected";
8486                    leaf access-list {8516                    leaf access-list {
8487                      type string {8517                      type string {
8488                        length "1..1024" {8518                        length "1..1024" {
8489                          description8519                          description
8490                            "access-list name";8520                            "access-list name";
8491                        }8521                        }
8492                      }8522                      }
8493                      description8523                      description
8494                        "access-list name";8524                        "access-list name";
8495                    }8525                    }
8496                  }8526                  }
8497                  container static {8527                  container static {
8498                    description8528                    description
8499                      "Static routes";8529                      "Static routes";
8500                    leaf access-list {8530                    leaf access-list {
8501                      type string {8531                      type string {
8502                        length "1..1024" {8532                        length "1..1024" {
8503                          description8533                          description
8504                            "access-list name";8534                            "access-list name";
8505                        }8535                        }
8506                      }8536                      }
8507                      description8537                      description
8508                        "access-list name";8538                        "access-list name";
8509                    }8539                    }
8510                  }8540                  }
8511                  container dagr {8541                  container dagr {
8512                    description8542                    description
8513                      "Directed-attached gateway redundancy (DAGR)";8543                      "Directed-attached gateway redundancy (DAGR)";
8514                    leaf access-list {8544                    leaf access-list {
8515                      type string {8545                      type string {
8516                        length "1..1024" {8546                        length "1..1024" {
8517                          description8547                          description
8518                            "access-list name";8548                            "access-list name";
8519                        }8549                        }
8520                      }8550                      }
8521                      description8551                      description
8522                        "access-list name";8552                        "access-list name";
8523                    }8553                    }
8524                  }8554                  }
8525                  container bgp {8555                  container bgp {
8526                    description8556                    description
8527                      "Border Gateway Protocol (BGP)";8557                      "Border Gateway Protocol (BGP)";
8528                    leaf as {8558                    leaf as {
8529                      type xr:Bgp-as-number;8559                      type xr:Bgp-as-number;
8530                      description8560                      description
8531                        "bgp as-number";8561                        "bgp as-number";
8532                    }8562                    }
8533                    leaf access-list {8563                    leaf access-list {
8534                      type string {8564                      type string {
8535                        length "1..1024" {8565                        length "1..1024" {
8536                          description8566                          description
8537                            "access-list name";8567                            "access-list name";
8538                        }8568                        }
8539                      }8569                      }
8540                      description8570                      description
8541                        "access-list name";8571                        "access-list name";
8542                    }8572                    }
8543                  }8573                  }
8544                  container ospf {8574                  container ospf {
8545                    description8575                    description
8546                      "Open Shortest Path First (OSPF)";8576                      "Open Shortest Path First (OSPF)";
8547                    leaf instance-name {8577                    leaf instance-name {
8548                      type string {8578                      type string {
8549                        length "1..1024" {8579                        length "1..1024" {
8550                          description8580                          description
8551                            "OSPF instance name";8581                            "OSPF instance name";
8552                        }8582                        }
8553                      }8583                      }
8554                      description8584                      description
8555                        "Open Shortest Path First (OSPF)";8585                        "Open Shortest Path First (OSPF)";
8556                    }8586                    }
8557                    leaf access-list {8587                    leaf access-list {
8558                      type string {8588                      type string {
8559                        length "1..1024" {8589                        length "1..1024" {
8560                          description8590                          description
8561                            "access-list name";8591                            "access-list name";
8562                        }8592                        }
8563                      }8593                      }
8564                      description8594                      description
8565                        "access-list name";8595                        "access-list name";
8566                    }8596                    }
8567                  }8597                  }
8568                }8598                }
8569              }8599              }
8570              leaf packet-size {8600              leaf packet-size {
8571                type uint32 {8601                type uint32 {
8572                  range "576..10000" {8602                  range "576..10000" {
8573                    description8603                    description
8574                      "Size of OSPF packets to use Min: 576 Max: MTU bytes";8604                      "Size of OSPF packets to use Min: 576 Max: MTU bytes";
8575                  }8605                  }
8576                }8606                }
8577                description8607                description
8578                  "Customize size of OSPF packets upto MTU";8608                  "Customize size of OSPF packets upto MTU";
8579              }8609              }
8580              container bfd {8610              container bfd {
8581                description8611                description
8582                  "Configure BFD parameters";8612                  "Configure BFD parameters";
8583                container fast-detect {8613                container fast-detect {
8584                  presence "Indicates a fast-detect node is configured.";8614                  presence "Indicates a fast-detect node is configured.";
8585                  description8615                  description
8586                    "Enable Fast detection";8616                    "Enable Fast detection";
8587                  container strict-mode {8617                  container strict-mode {
8588                    presence "Indicates a strict-mode node is configured.";8618                    presence "Indicates a strict-mode node is configured.";
8589                    description8619                    description
8590                      "Hold down neighbor session until BFD session is up";8620                      "Hold down neighbor session until BFD session is up";
8591                  }8621                  }
8592                }8622                }
8593                leaf minimum-interval {8623                leaf minimum-interval {
8594                  type uint32 {8624                  type uint32 {
8595                    range "3..30000" {8625                    range "3..30000" {
8596                      description8626                      description
8597                        "minimum interval in milli-seconds";8627                        "minimum interval in milli-seconds";
8598                    }8628                    }
8599                  }8629                  }
8600                  description8630                  description
8601                    "Minimum interval";8631                    "Minimum interval";
8602                }8632                }
8603                leaf multiplier {8633                leaf multiplier {
8604                  type uint32 {8634                  type uint32 {
8605                    range "2..50" {8635                    range "2..50" {
8606                      description8636                      description
8607                        "Detect multiplier";8637                        "Detect multiplier";
8608                    }8638                    }
8609                  }8639                  }
8610                  description8640                  description
8611                    "Detect multiplier";8641                    "Detect multiplier";
8612                }8642                }
8613              }8643              }
8614              container security {8644              container security {
8615                description8645                description
8616                  "Enable security";8646                  "Enable security";
8617                container ttl {8647                container ttl {
8618                  presence "Indicates a ttl node is configured.";8648                  presence "Indicates a ttl node is configured.";
8619                  description8649                  description
8620                    "Enable ttl security";8650                    "Enable ttl security";
8621                  leaf hops {8651                  leaf hops {
8622                    type uint32 {8652                    type uint32 {
8623                      range "1..254" {8653                      range "1..254" {
8624                        description8654                        description
8625                          "maximum number of hops allowed";8655                          "maximum number of hops allowed";
8626                      }8656                      }
8627                    }8657                    }
8628                    description8658                    description
8629                      "IP hops";8659                      "IP hops";
8630                  }8660                  }
8631                }8661                }
8632              }8662              }
8633              container prefix-suppression {8663              container prefix-suppression {
8634                description8664                description
8635                  "Suppress advertisement of the prefixes";8665                  "Suppress advertisement of the prefixes";
8636                container enable {8666                container enable {
8637                  presence "Indicates a enable node is configured.";8667                  presence "Indicates a enable node is configured.";
8638                  description8668                  description
8639                    "Enable primary address suppression";8669                    "Enable primary address suppression";
8640                }8670                }
8641                container secondary-address {8671                container secondary-address {
8642                  description8672                  description
8643                    "Enable/Disable secondary address suppression";8673                    "Enable/Disable secondary address suppression";
8644                  container enable {8674                  container enable {
8645                    presence "Indicates a enable node is configured.";8675                    presence "Indicates a enable node is configured.";
8646                    description8676                    description
8647                      "Enable secondary address suppression";8677                      "Enable secondary address suppression";
8648                  }8678                  }
8649                }8679                }
8650              }8680              }
8651              container default-information {8681              container default-information {
8652                description8682                description
8653                  "Control distribution of default information";8683                  "Control distribution of default information";
8654                container originate {8684                container originate {
8655                  presence "Indicates a originate node is configured.";8685                  presence "Indicates a originate node is configured.";
8656                  description8686                  description
8657                    "Distribute a default route";8687                    "Distribute a default route";
8658                  container always {8688                  container always {
8659                    presence "Indicates a always node is configured.";8689                    presence "Indicates a always node is configured.";
8660                    description8690                    description
8661                      "Always advertise default route";8691                      "Always advertise default route";
8662                  }8692                  }
8663                  leaf metric {8693                  leaf metric {
8664                    type uint32 {8694                    type uint32 {
8665                      range "1..16777214" {8695                      range "1..16777214" {
8666                        description8696                        description
8667                          "OSPF metric";8697                          "OSPF metric";
8668                      }8698                      }
8669                    }8699                    }
8670                    description8700                    description
8671                      "OSPF default metric";8701                      "OSPF default metric";
8672                  }8702                  }
8673                  leaf metric-type {8703                  leaf metric-type {
8674                    type uint32 {8704                    type uint32 {
8675                      range "1..2" {8705                      range "1..2" {
8676                        description8706                        description
8677                          "OSPF Link State type";8707                          "OSPF Link State type";
8678                      }8708                      }
8679                    }8709                    }
8680                    description8710                    description
8681                      "OSPF metric type for default routes";8711                      "OSPF metric type for default routes";
8682                  }8712                  }
8683                  leaf route-policy {8713                  leaf route-policy {
8684                    type xr:Route-policy-name;8714                    type xr:Route-policy-name;
8685                    description8715                    description
8686                      "Apply route-policy to default-information origination";8716                      "Apply route-policy to default-information origination";
8687                  }8717                  }
8688                }8718                }
8689              }8719              }
8690              leaf default-metric {8720              leaf default-metric {
8691                type uint32 {8721                type uint32 {
8692                  range "1..16777214" {8722                  range "1..16777214" {
8693                    description8723                    description
8694                      "Default metric";8724                      "Default metric";
8695                  }8725                  }
8696                }8726                }
8697                description8727                description
8698                  "Default metric";8728                  "Default metric";
8699              }8729              }
8700              container distance {8730              container distance {
8701                description8731                description
8702                  "Define an administrative distance";8732                  "Define an administrative distance";
8703                container administrative-distance {8733                container administrative-distance {
8704                  description8734                  description
8705                    "Administrative distance";8735                    "Administrative distance";
8706                  leaf administrative-distance {8736                  leaf administrative-distance {
8707                    type uint32 {8737                    type uint32 {
8708                      range "1..255" {8738                      range "1..255" {
8709                        description8739                        description
8710                          "Administrative distance";8740                          "Administrative distance";
8711                      }8741                      }
8712                    }8742                    }
8713                    default "110";8743                    default "110";
8714                    description8744                    description
8715                      "Administrative distance";8745                      "Administrative distance";
8716                  }8746                  }
8717                  container source-addresses {8747                  container source-addresses {
8718                    description8748                    description
8719                      "Administrative distance source address";8749                      "Administrative distance source address";
8720                    list source-address {8750                    list source-address {
8721                      key "address wildcard";8751                      key "address wildcard";
8722                      description8752                      description
8723                        "source address";8753                        "source address";
8724                      leaf address {8754                      leaf address {
8725                        type inet:ipv4-address-no-zone;8755                        type inet:ipv4-address-no-zone;
8726                        description8756                        description
8727                          "IP Source address";8757                          "IP Source address";
8728                      }8758                      }
8729                      leaf wildcard {8759                      leaf wildcard {
8730                        type inet:ipv4-address-no-zone;8760                        type inet:ipv4-address-no-zone;
8731                        description8761                        description
8732                          "IP wild card bits -- inverted mask";8762                          "IP wild card bits -- inverted mask";
8733                      }8763                      }
8734                      leaf distance {8764                      leaf distance {
8735                        type uint32 {8765                        type uint32 {
8736                          range "1..255";8766                          range "1..255";
8737                        }8767                        }
8738                        mandatory true;8768                        mandatory true;
8739                        description8769                        description
8740                          "Administrative distance";8770                          "Administrative distance";
8741                      }8771                      }
8742                      leaf access-list-name {8772                      leaf access-list-name {
8743                        type string;8773                        type string;
8744                        description8774                        description
8745                          "Access Control List name";8775                          "Access Control List name";
8746                      }8776                      }
8747                    }8777                    }
8748                  }8778                  }
8749                }8779                }
8750                container ospf {8780                container ospf {
8751                  description8781                  description
8752                    "OSPF distance";8782                    "OSPF distance";
8753                  leaf intra-area {8783                  leaf intra-area {
8754                    type uint32 {8784                    type uint32 {
8755                      range "1..255" {8785                      range "1..255" {
8756                        description8786                        description
8757                          "Distance for intra-area routes";8787                          "Distance for intra-area routes";
8758                      }8788                      }
8759                    }8789                    }
8760                    description8790                    description
8761                      "Intra-area routes";8791                      "Intra-area routes";
8762                  }8792                  }
8763                  leaf inter-area {8793                  leaf inter-area {
8764                    type uint32 {8794                    type uint32 {
8765                      range "1..255" {8795                      range "1..255" {
8766                        description8796                        description
8767                          "Distance for inter-area routes";8797                          "Distance for inter-area routes";
8768                      }8798                      }
8769                    }8799                    }
8770                    description8800                    description
8771                      "Inter-area routes";8801                      "Inter-area routes";
8772                  }8802                  }
8773                  leaf external {8803                  leaf external {
8774                    type uint32 {8804                    type uint32 {
8775                      range "1..255" {8805                      range "1..255" {
8776                        description8806                        description
8777                          "Distance for external type 5 and type 7 routes";8807                          "Distance for external type 5 and type 7 routes";
8778                      }8808                      }
8779                    }8809                    }
8780                    description8810                    description
8781                      "External type 5 and type 7 routes";8811                      "External type 5 and type 7 routes";
8782                  }8812                  }
8783                }8813                }
8784              }8814              }
8785              container auto-cost {8815              container auto-cost {
8786                description8816                description
8787                  "Calculate OSPF interface cost according to bandwidth";8817                  "Calculate OSPF interface cost according to bandwidth";
8788                leaf reference-bandwidth {8818                leaf reference-bandwidth {
8789                  type uint32 {8819                  type uint32 {
8790                    range "1..4294967" {8820                    range "1..4294967" {
8791                      description8821                      description
8792                        "The reference bandwidth in terms of Mbits per second";8822                        "The reference bandwidth in terms of Mbits per second";
8793                    }8823                    }
8794                  }8824                  }
8795                  description8825                  description
8796                    "Specify reference bandwidth for OSPF cost computations";8826                    "Specify reference bandwidth for OSPF cost computations";
8797                }8827                }
8798                container disable {8828                container disable {
8799                  presence "Indicates a disable node is configured.";8829                  presence "Indicates a disable node is configured.";
8800                  description8830                  description
8801                    "Assign OSPF cost based on interface type";8831                    "Assign OSPF cost based on interface type";
8802                }8832                }
8803              }8833              }
8804              container ignore {8834              container ignore {
8805                description8835                description
8806                  "Do not complain about specific event";8836                  "Do not complain about specific event";
8807                container lsa {8837                container lsa {
8808                  description8838                  description
8809                    "Do not complain upon receiving LSA of the specified type";8839                    "Do not complain upon receiving LSA of the specified type";
8810                  container mospf {8840                  container mospf {
8811                    presence "Indicates a mospf node is configured.";8841                    presence "Indicates a mospf node is configured.";
8812                    description8842                    description
8813                      "MOSPF Type 6 LSA";8843                      "MOSPF Type 6 LSA";
8814                  }8844                  }
8815                }8845                }
8816              }8846              }
8817              container capability {8847              container capability {
8818                description8848                description
8819                  "Enable specific OSPF feature";8849                  "Enable specific OSPF feature";
8820                container opaque {8850                container opaque {
8821                  description8851                  description
8822                    "Opaque LSA";8852                    "Opaque LSA";
8823                  container disable {8853                  container disable {
8824                    presence "Indicates a disable node is configured.";8854                    presence "Indicates a disable node is configured.";
8825                    description8855                    description
8826                      "Disable Opaque LSA capability";8856                      "Disable Opaque LSA capability";
8827                  }8857                  }
8828                }8858                }
8829                container lls {8859                container lls {
8830                  presence "Indicates a lls node is configured.";8860                  presence "Indicates a lls node is configured.";
8831                  description8861                  description
8832                    "Link Local Signalling";8862                    "Link Local Signalling";
8833                  container disable {8863                  container disable {
8834                    presence "Indicates a disable node is configured.";8864                    presence "Indicates a disable node is configured.";
8835                    description8865                    description
8836                      "Disable Link Local Signalling capability";8866                      "Disable Link Local Signalling capability";
8837                  }8867                  }
8838                }8868                }
8839                container type7 {8869                container type7 {
8840                  description8870                  description
8841                    "NSSA capability";8871                    "NSSA capability";
8842                  container prefer {8872                  container prefer {
8843                    presence "Indicates a prefer node is configured.";8873                    presence "Indicates a prefer node is configured.";
8844                    description8874                    description
8845                      "Prefer type7 externals over type5";8875                      "Prefer type7 externals over type5";
8846                  }8876                  }
8847                }8877                }
8848                container vrf-lite {8878                container vrf-lite {
8849                  presence "Indicates a vrf-lite node is configured.";8879                  presence "Indicates a vrf-lite node is configured.";
8850                  description8880                  description
8851                    "Enable VRF-lite support";8881                    "Enable VRF-lite support";
8852                }8882                }
8853              }8883              }
8854              container max-metric {8884              container max-metric {
8855                description8885                description
8856                  "Set maximum metric";8886                  "Set maximum metric";
8857                container router-lsa {8887                container router-lsa {
8858                  presence "Indicates a router-lsa node is configured.";8888                  presence "Indicates a router-lsa node is configured.";
8859                  description8889                  description
8860                    "Maximum metric in self-originated router-LSAs";8890                    "Maximum metric in self-originated router-LSAs";
8861                  container include-stub {8891                  container include-stub {
8862                    presence "Indicates a include-stub node is configured.";8892                    presence "Indicates a include-stub node is configured.";
8863                    description8893                    description
8864                      "Set maximum metric for stub links in router-LSAs";8894                      "Set maximum metric for stub links in router-LSAs";
8865                  }8895                  }
8866                  container summary-lsa {8896                  container summary-lsa {
8867                    presence "Indicates a summary-lsa node is configured.";8897                    presence "Indicates a summary-lsa node is configured.";
8868                    description8898                    description
8869                      "Overriding metric in summary-LSAs (default 16711680)";8899                      "Overriding metric in summary-LSAs (default 16711680)";
8870                    leaf metric {8900                    leaf metric {
8871                      type uint32 {8901                      type uint32 {
8872                        range "1..16777215" {8902                        range "1..16777215" {
8873                          description8903                          description
8874                            "Overriding metric in summary-LSAs (default 16711680)";8904                            "Overriding metric in summary-LSAs (default 16711680)";
8875                        }8905                        }
8876                      }8906                      }
8877                      description8907                      description
8878                        "Overriding metric in summary-LSAs (default 16711680)";8908                        "Overriding metric in summary-LSAs (default 16711680)";
8879                    }8909                    }
8880                  }8910                  }
8881                  container external-lsa {8911                  container external-lsa {
8882                    presence "Indicates a external-lsa node is configured.";8912                    presence "Indicates a external-lsa node is configured.";
8883                    description8913                    description
8884                      "Override external-lsa metric with max-metric value";8914                      "Override external-lsa metric with max-metric value";
8885                    leaf metric {8915                    leaf metric {
8886                      type uint32 {8916                      type uint32 {
8887                        range "1..16777215" {8917                        range "1..16777215" {
8888                          description8918                          description
8889                            "Overriding metric in external-LSAs (default 16711680)";8919                            "Overriding metric in external-LSAs (default 16711680)";
8890                        }8920                        }
8891                      }8921                      }
8892                      description8922                      description
8893                        "Override external-lsa metric with max-metric value";8923                        "Override external-lsa metric with max-metric value";
8894                    }8924                    }
8895                  }8925                  }
8896                }8926                }
8897                container router-lsa-no-abr-off {8927                container router-lsa-no-abr-off {
8898                  presence "Indicates a no-abr-off node is configured.";8928                  presence "Indicates a no-abr-off node is configured.";
8899                  description8929                  description
8900                    "Do not temporarily suspend ABR duties in max-metric mode";8930                    "Do not temporarily suspend ABR duties in max-metric mode";
8901                }8931                }
8902                container router-lsa-on-startup {8932                container router-lsa-on-startup {
8903                  description8933                  description
8904                    "On startup";8934                    "On startup";
8905                  leaf originate-time {8935                  leaf originate-time {
8906                    type uint32 {8936                    type uint32 {
8907                      range "5..86400" {8937                      range "5..86400" {
8908                        description8938                        description
8909                          "Time in seconds to originate router-LSA with max-metric";8939                          "Time in seconds to originate router-LSA with max-metric";
8910                      }8940                      }
8911                    }8941                    }
8912                    must "not(../wait-for-bgp)";8942                    must "not(../wait-for-bgp)";
8913                    description8943                    description
8914                      "Time in seconds to originate router-LSA with max-metric";8944                      "Time in seconds to originate router-LSA with max-metric";
8915                  }8945                  }
8916                  container wait-for-bgp {8946                  container wait-for-bgp {
8917                    must "not(../originate-time)";8947                    must "not(../originate-time)";
8918                    presence "Indicates a wait-for-bgp node is configured.";8948                    presence "Indicates a wait-for-bgp node is configured.";
8919                    description8949                    description
8920                      "Let BGP decide when to originate router-LSA with normal metric";8950                      "Let BGP decide when to originate router-LSA with normal metric";
8921                  }8951                  }
8922                  container include-stub {8952                  container include-stub {
8923                    presence "Indicates a include-stub node is configured.";8953                    presence "Indicates a include-stub node is configured.";
8924                    description8954                    description
8925                      "Set maximum metric for stub links in router-LSAs";8955                      "Set maximum metric for stub links in router-LSAs";
8926                  }8956                  }
8927                  container summary-lsa {8957                  container summary-lsa {
8928                    presence "Indicates a summary-lsa node is configured.";8958                    presence "Indicates a summary-lsa node is configured.";
8929                    description8959                    description
8930                      "Overriding metric in summary-LSAs (default 16711680)";8960                      "Overriding metric in summary-LSAs (default 16711680)";
8931                    leaf metric {8961                    leaf metric {
8932                      type uint32 {8962                      type uint32 {
8933                        range "1..16777215" {8963                        range "1..16777215" {
8934                          description8964                          description
8935                            "Overriding metric in summary-LSAs (default 16711680)";8965                            "Overriding metric in summary-LSAs (default 16711680)";
8936                        }8966                        }
8937                      }8967                      }
8938                      description8968                      description
8939                        "Overriding metric in summary-LSAs (default 16711680)";8969                        "Overriding metric in summary-LSAs (default 16711680)";
8940                    }8970                    }
8941                  }8971                  }
8942                  container external-lsa {8972                  container external-lsa {
8943                    presence "Indicates a external-lsa node is configured.";8973                    presence "Indicates a external-lsa node is configured.";
8944                    description8974                    description
8945                      "Override external-lsa metric with max-metric value";8975                      "Override external-lsa metric with max-metric value";
8946                    leaf metric {8976                    leaf metric {
8947                      type uint32 {8977                      type uint32 {
8948                        range "1..16777215" {8978                        range "1..16777215" {
8949                          description8979                          description
8950                            "Overriding metric in external-LSAs (default 16711680)";8980                            "Overriding metric in external-LSAs (default 16711680)";
8951                        }8981                        }
8952                      }8982                      }
8953                      description8983                      description
8954                        "Override external-lsa metric with max-metric value";8984                        "Override external-lsa metric with max-metric value";
8955                    }8985                    }
8956                  }8986                  }
8957                }8987                }
8958                container router-lsa-on-switchover {8988                container router-lsa-on-switchover {
8959                  description8989                  description
8960                    "On switchover";8990                    "On switchover";
8961                  leaf originate-time {8991                  leaf originate-time {
8962                    type uint32 {8992                    type uint32 {
8963                      range "5..86400" {8993                      range "5..86400" {
8964                        description8994                        description
8965                          "Time in seconds to originate router-LSA with max-metric";8995                          "Time in seconds to originate router-LSA with max-metric";
8966                      }8996                      }
8967                    }8997                    }
8968                    must "not(../wait-for-bgp)";8998                    must "not(../wait-for-bgp)";
8969                    description8999                    description
8970                      "Time in seconds to originate router-LSA with max-metric";9000                      "Time in seconds to originate router-LSA with max-metric";
8971                  }9001                  }
8972                  container wait-for-bgp {9002                  container wait-for-bgp {
8973                    must "not(../originate-time)";9003                    must "not(../originate-time)";
8974                    presence "Indicates a wait-for-bgp node is configured.";9004                    presence "Indicates a wait-for-bgp node is configured.";
8975                    description9005                    description
8976                      "Let BGP decide when to originate router-LSA with normal metric";9006                      "Let BGP decide when to originate router-LSA with normal metric";
8977                  }9007                  }
8978                  container include-stub {9008                  container include-stub {
8979                    presence "Indicates a include-stub node is configured.";9009                    presence "Indicates a include-stub node is configured.";
8980                    description9010                    description
8981                      "Set maximum metric for stub links in router-LSAs";9011                      "Set maximum metric for stub links in router-LSAs";
8982                  }9012                  }
8983                  container summary-lsa {9013                  container summary-lsa {
8984                    presence "Indicates a summary-lsa node is configured.";9014                    presence "Indicates a summary-lsa node is configured.";
8985                    description9015                    description
8986                      "Overriding metric in summary-LSAs (default 16711680)";9016                      "Overriding metric in summary-LSAs (default 16711680)";
8987                    leaf metric {9017                    leaf metric {
8988                      type uint32 {9018                      type uint32 {
8989                        range "1..16777215" {9019                        range "1..16777215" {
8990                          description9020                          description
8991                            "Overriding metric in summary-LSAs (default 16711680)";9021                            "Overriding metric in summary-LSAs (default 16711680)";
8992                        }9022                        }
8993                      }9023                      }
8994                      description9024                      description
8995                        "Overriding metric in summary-LSAs (default 16711680)";9025                        "Overriding metric in summary-LSAs (default 16711680)";
8996                    }9026                    }
8997                  }9027                  }
8998                  container external-lsa {9028                  container external-lsa {
8999                    presence "Indicates a external-lsa node is configured.";9029                    presence "Indicates a external-lsa node is configured.";
9000                    description9030                    description
9001                      "Override external-lsa metric with max-metric value";9031                      "Override external-lsa metric with max-metric value";
9002                    leaf metric {9032                    leaf metric {
9003                      type uint32 {9033                      type uint32 {
9004                        range "1..16777215" {9034                        range "1..16777215" {
9005                          description9035                          description
9006                            "Overriding metric in external-LSAs (default 16711680)";9036                            "Overriding metric in external-LSAs (default 16711680)";
9007                        }9037                        }
9008                      }9038                      }
9009                      description9039                      description
9010                        "Override external-lsa metric with max-metric value";9040                        "Override external-lsa metric with max-metric value";
9011                    }9041                    }
9012                  }9042                  }
9013                }9043                }
9014                container router-lsa-on-proc-restart {9044                container router-lsa-on-proc-restart {
9015                  description9045                  description
9016                    "On process restart";9046                    "On process restart";
9017                  leaf originate-time {9047                  leaf originate-time {
9018                    type uint32 {9048                    type uint32 {
9019                      range "5..86400" {9049                      range "5..86400" {
9020                        description9050                        description
9021                          "Time in seconds to originate router-LSA with max-metric";9051                          "Time in seconds to originate router-LSA with max-metric";
9022                      }9052                      }
9023                    }9053                    }
9024                    must "not(../wait-for-bgp)";9054                    must "not(../wait-for-bgp)";
9025                    description9055                    description
9026                      "Time in seconds to originate router-LSA with max-metric";9056                      "Time in seconds to originate router-LSA with max-metric";
9027                  }9057                  }
9028                  container wait-for-bgp {9058                  container wait-for-bgp {
9029                    must "not(../originate-time)";9059                    must "not(../originate-time)";
9030                    presence "Indicates a wait-for-bgp node is configured.";9060                    presence "Indicates a wait-for-bgp node is configured.";
9031                    description9061                    description
9032                      "Let BGP decide when to originate router-LSA with normal metric";9062                      "Let BGP decide when to originate router-LSA with normal metric";
9033                  }9063                  }
9034                  container include-stub {9064                  container include-stub {
9035                    presence "Indicates a include-stub node is configured.";9065                    presence "Indicates a include-stub node is configured.";
9036                    description9066                    description
9037                      "Set maximum metric for stub links in router-LSAs";9067                      "Set maximum metric for stub links in router-LSAs";
9038                  }9068                  }
9039                  container summary-lsa {9069                  container summary-lsa {
9040                    presence "Indicates a summary-lsa node is configured.";9070                    presence "Indicates a summary-lsa node is configured.";
9041                    description9071                    description
9042                      "Overriding metric in summary-LSAs (default 16711680)";9072                      "Overriding metric in summary-LSAs (default 16711680)";
9043                    leaf metric {9073                    leaf metric {
9044                      type uint32 {9074                      type uint32 {
9045                        range "1..16777215" {9075                        range "1..16777215" {
9046                          description9076                          description
9047                            "Overriding metric in summary-LSAs (default 16711680)";9077                            "Overriding metric in summary-LSAs (default 16711680)";
9048                        }9078                        }
9049                      }9079                      }
9050                      description9080                      description
9051                        "Overriding metric in summary-LSAs (default 16711680)";9081                        "Overriding metric in summary-LSAs (default 16711680)";
9052                    }9082                    }
9053                  }9083                  }
9054                  container external-lsa {9084                  container external-lsa {
9055                    presence "Indicates a external-lsa node is configured.";9085                    presence "Indicates a external-lsa node is configured.";
9056                    description9086                    description
9057                      "Override external-lsa metric with max-metric value";9087                      "Override external-lsa metric with max-metric value";
9058                    leaf metric {9088                    leaf metric {
9059                      type uint32 {9089                      type uint32 {
9060                        range "1..16777215" {9090                        range "1..16777215" {
9061                          description9091                          description
9062                            "Overriding metric in external-LSAs (default 16711680)";9092                            "Overriding metric in external-LSAs (default 16711680)";
9063                        }9093                        }
9064                      }9094                      }
9065                      description9095                      description
9066                        "Override external-lsa metric with max-metric value";9096                        "Override external-lsa metric with max-metric value";
9067                    }9097                    }
9068                  }9098                  }
9069                }9099                }
9070                container router-lsa-on-proc-migration {9100                container router-lsa-on-proc-migration {
9071                  description9101                  description
9072                    "On process migration";9102                    "On process migration";
9073                  leaf originate-time {9103                  leaf originate-time {
9074                    type uint32 {9104                    type uint32 {
9075                      range "5..86400" {9105                      range "5..86400" {
9076                        description9106                        description
9077                          "Time in seconds to originate router-LSA with max-metric";9107                          "Time in seconds to originate router-LSA with max-metric";
9078                      }9108                      }
9079                    }9109                    }
9080                    must "not(../wait-for-bgp)";9110                    must "not(../wait-for-bgp)";
9081                    description9111                    description
9082                      "Time in seconds to originate router-LSA with max-metric";9112                      "Time in seconds to originate router-LSA with max-metric";
9083                  }9113                  }
9084                  container wait-for-bgp {9114                  container wait-for-bgp {
9085                    must "not(../originate-time)";9115                    must "not(../originate-time)";
9086                    presence "Indicates a wait-for-bgp node is configured.";9116                    presence "Indicates a wait-for-bgp node is configured.";
9087                    description9117                    description
9088                      "Let BGP decide when to originate router-LSA with normal metric";9118                      "Let BGP decide when to originate router-LSA with normal metric";
9089                  }9119                  }
9090                  container include-stub {9120                  container include-stub {
9091                    presence "Indicates a include-stub node is configured.";9121                    presence "Indicates a include-stub node is configured.";
9092                    description9122                    description
9093                      "Set maximum metric for stub links in router-LSAs";9123                      "Set maximum metric for stub links in router-LSAs";
9094                  }9124                  }
9095                  container summary-lsa {9125                  container summary-lsa {
9096                    presence "Indicates a summary-lsa node is configured.";9126                    presence "Indicates a summary-lsa node is configured.";
9097                    description9127                    description
9098                      "Overriding metric in summary-LSAs (default 16711680)";9128                      "Overriding metric in summary-LSAs (default 16711680)";
9099                    leaf metric {9129                    leaf metric {
9100                      type uint32 {9130                      type uint32 {
9101                        range "1..16777215" {9131                        range "1..16777215" {
9102                          description9132                          description
9103                            "Overriding metric in summary-LSAs (default 16711680)";9133                            "Overriding metric in summary-LSAs (default 16711680)";
9104                        }9134                        }
9105                      }9135                      }
9106                      description9136                      description
9107                        "Overriding metric in summary-LSAs (default 16711680)";9137                        "Overriding metric in summary-LSAs (default 16711680)";
9108                    }9138                    }
9109                  }9139                  }
9110                  container external-lsa {9140                  container external-lsa {
9111                    presence "Indicates a external-lsa node is configured.";9141                    presence "Indicates a external-lsa node is configured.";
9112                    description9142                    description
9113                      "Override external-lsa metric with max-metric value";9143                      "Override external-lsa metric with max-metric value";
9114                    leaf metric {9144                    leaf metric {
9115                      type uint32 {9145                      type uint32 {
9116                        range "1..16777215" {9146                        range "1..16777215" {
9117                          description9147                          description
9118                            "Overriding metric in external-LSAs (default 16711680)";9148                            "Overriding metric in external-LSAs (default 16711680)";
9119                        }9149                        }
9120                      }9150                      }
9121                      description9151                      description
9122                        "Override external-lsa metric with max-metric value";9152                        "Override external-lsa metric with max-metric value";
9123                    }9153                    }
9124                  }9154                  }
9125                }9155                }
9126              }9156              }
9127              container max-lsa {9157              container max-lsa {
9128                presence "Indicates a max-lsa node is configured.";9158                presence "Indicates a max-lsa node is configured.";
9129                description9159                description
9130                  "Maximum number of LSAs OSPF process will receive";9160                  "Maximum number of LSAs OSPF process will receive";
9131                leaf max-lsa {9161                leaf max-lsa {
9132                  type uint32 {9162                  type uint32 {
9133                    range "1..4294967294" {9163                    range "1..4294967294" {
9134                      description9164                      description
9135                        "Maximum number of non self-generated LSAs this process can receive";9165                        "Maximum number of non self-generated LSAs this process can receive";
9136                    }9166                    }
9137                  }9167                  }
9138                  mandatory true;9168                  mandatory true;
9139                  description9169                  description
9140                    "Maximum number of LSAs OSPF process will receive";9170                    "Maximum number of LSAs OSPF process will receive";
9141                }9171                }
9142                leaf threshold {9172                leaf threshold {
9143                  type uint32 {9173                  type uint32 {
9144                    range "1..100";9174                    range "1..100";
9145                  }9175                  }
9146                  description9176                  description
9147                    "Threshold value (%) at which to generate a warning msg";9177                    "Threshold value (%) at which to generate a warning msg";
9148                }9178                }
9149                container warning-only {9179                container warning-only {
9150                  presence "Indicates a warning-only node is configured.";9180                  presence "Indicates a warning-only node is configured.";
9151                  description9181                  description
9152                    "Only give warning message when limit is exceeded";9182                    "Only give warning message when limit is exceeded";
9153                }9183                }
9154                leaf ignore-time {9184                leaf ignore-time {
9155                  type uint32 {9185                  type uint32 {
9156                    range "1..35791394" {9186                    range "1..35791394" {
9157                      description9187                      description
9158                        "number of minutes during which all adjacencies are suppressed";9188                        "number of minutes during which all adjacencies are suppressed";
9159                    }9189                    }
9160                  }9190                  }
9161                  must "not(../warning-only)";9191                  must "not(../warning-only)";
9162                  description9192                  description
9163                    "time during which all adjacencies are suppressed";9193                    "time during which all adjacencies are suppressed";
9164                }9194                }
9165                leaf ignore-count {9195                leaf ignore-count {
9166                  type uint32 {9196                  type uint32 {
9167                    range "1..4294967294" {9197                    range "1..4294967294" {
9168                      description9198                      description
9169                        "count on how many times adjacencies can be suppressed";9199                        "count on how many times adjacencies can be suppressed";
9170                    }9200                    }
9171                  }9201                  }
9172                  must "not(../warning-only)";9202                  must "not(../warning-only)";
9173                  description9203                  description
9174                    "maximum number of times adjacencies can be suppressed";9204                    "maximum number of times adjacencies can be suppressed";
9175                }9205                }
9176                leaf reset-time {9206                leaf reset-time {
9177                  type uint32 {9207                  type uint32 {
9178                    range "2..71582788" {9208                    range "2..71582788" {
9179                      description9209                      description
9180                        "number of minutes after which ignore-count is reset to zero";9210                        "number of minutes after which ignore-count is reset to zero";
9181                    }9211                    }
9182                  }9212                  }
9183                  must "not(../warning-only)";9213                  must "not(../warning-only)";
9184                  description9214                  description
9185                    "time after which ignore-count is reset to zero";9215                    "time after which ignore-count is reset to zero";
9186                }9216                }
9187              }9217              }
9188              container timers {9218              container timers {
9189                description9219                description
9190                  "Adjust routing timers";9220                  "Adjust routing timers";
9191                container throttle {9221                container throttle {
9192                  description9222                  description
9193                    "OSPF throttle timers";9223                    "OSPF throttle timers";
9194                  container spf {9224                  container spf {
9195                    presence "Indicates a spf node is configured.";9225                    presence "Indicates a spf node is configured.";
9196                    description9226                    description
9197                      "OSPF SPF throttle timers";9227                      "OSPF SPF throttle timers";
9198                    leaf initial-delay {9228                    leaf initial-delay {
9199                      type uint32 {9229                      type uint32 {
9200                        range "1..600000" {9230                        range "1..600000" {
9201                          description9231                          description
9202                            "Delay between receiving a change to SPF calculation in milliseconds";9232                            "Delay between receiving a change to SPF calculation in milliseconds";
9203                        }9233                        }
9204                      }9234                      }
9205                      mandatory true;9235                      mandatory true;
9206                      description9236                      description
9207                        "OSPF SPF throttle timers";9237                        "OSPF SPF throttle timers";
9208                    }9238                    }
9209                    leaf second-delay {9239                    leaf second-delay {
9210                      type uint32 {9240                      type uint32 {
9211                        range "1..600000" {9241                        range "1..600000" {
9212                          description9242                          description
9213                            "Delay between first and second SPF calculation in milliseconds";9243                            "Delay between first and second SPF calculation in milliseconds";
9214                        }9244                        }
9215                      }9245                      }
9216                      mandatory true;9246                      mandatory true;
9217                      description9247                      description
9218                        "Delay between first and second SPF calculation in milliseconds";9248                        "Delay between first and second SPF calculation in milliseconds";
9219                    }9249                    }
9220                    leaf maximum-delay {9250                    leaf maximum-delay {
9221                      type uint32 {9251                      type uint32 {
9222                        range "1..600000" {9252                        range "1..600000" {
9223                          description9253                          description
9224                            "Maximum wait time in milliseconds for SPF calculations";9254                            "Maximum wait time in milliseconds for SPF calculations";
9225                        }9255                        }
9226                      }9256                      }
9227                      mandatory true;9257                      mandatory true;
9228                      description9258                      description
9229                        "Maximum wait time in milliseconds for SPF calculations";9259                        "Maximum wait time in milliseconds for SPF calculations";
9230                    }9260                    }
9231                  }9261                  }
9232                  container lsa {9262                  container lsa {
9233                    description9263                    description
9234                      "LSA throttle timers";9264                      "LSA throttle timers";
9235                    container all {9265                    container all {
9236                      presence "Indicates a all node is configured.";9266                      presence "Indicates a all node is configured.";
9237                      description9267                      description
9238                        "For all types of OSPF LSAs";9268                        "For all types of OSPF LSAs";
9239                      leaf initial-delay {9269                      leaf initial-delay {
9240                        type uint32 {9270                        type uint32 {
9241                          range "0..600000" {9271                          range "0..600000" {
9242                            description9272                            description
9243                              "Delay to generate first occurance of LSA in milliseconds";9273                              "Delay to generate first occurance of LSA in milliseconds";
9244                          }9274                          }
9245                        }9275                        }
9246                        mandatory true;9276                        mandatory true;
9247                        description9277                        description
9248                          "For all types of OSPF LSAs";9278                          "For all types of OSPF LSAs";
9249                      }9279                      }
9250                      leaf minimum-delay {9280                      leaf minimum-delay {
9251                        type uint32 {9281                        type uint32 {
9252                          range "1..600000" {9282                          range "1..600000" {
9253                            description9283                            description
9254                              "Minimum delay between originating the same LSA in milliseconds";9284                              "Minimum delay between originating the same LSA in milliseconds";
9255                          }9285                          }
9256                        }9286                        }
9257                        mandatory true;9287                        mandatory true;
9258                        description9288                        description
9259                          "Minimum delay between originating the same LSA in milliseconds";9289                          "Minimum delay between originating the same LSA in milliseconds";
9260                      }9290                      }
9261                      leaf maximum-delay {9291                      leaf maximum-delay {
9262                        type uint32 {9292                        type uint32 {
9263                          range "1..600000" {9293                          range "1..600000" {
9264                            description9294                            description
9265                              "Maximum delay between originating the same LSA in milliseconds";9295                              "Maximum delay between originating the same LSA in milliseconds";
9266                          }9296                          }
9267                        }9297                        }
9268                        mandatory true;9298                        mandatory true;
9269                        description9299                        description
9270                          "Maximum delay between originating the same LSA in milliseconds";9300                          "Maximum delay between originating the same LSA in milliseconds";
9271                      }9301                      }
9272                    }9302                    }
9273                  }9303                  }
9274                  leaf fast-reroute {9304                  leaf fast-reroute {
9275                    type uint32 {9305                    type uint32 {
9276                      range "50..600000" {9306                      range "50..600000" {
9277                        description9307                        description
9278                          "Delay between end of SPF and start of the fast-reroute computation in milliseconds";9308                          "Delay between end of SPF and start of the fast-reroute computation in milliseconds";
9279                      }9309                      }
9280                    }9310                    }
9281                    description9311                    description
9282                      "Fast-reroute throttle timer";9312                      "Fast-reroute throttle timer";
9283                  }9313                  }
9284                }9314                }
9285                container lsa {9315                container lsa {
9286                  description9316                  description
9287                    "OSPF global LSA timers";9317                    "OSPF global LSA timers";
9288                  leaf group-pacing {9318                  leaf group-pacing {
9289                    type uint32 {9319                    type uint32 {
9290                      range "10..1800" {9320                      range "10..1800" {
9291                        description9321                        description
9292                          "Interval between group of LSA being refreshed or maxaged";9322                          "Interval between group of LSA being refreshed or maxaged";
9293                      }9323                      }
9294                    }9324                    }
9295                    description9325                    description
9296                      "OSPF LSA group pacing timer";9326                      "OSPF LSA group pacing timer";
9297                  }9327                  }
9298                  leaf min-arrival {9328                  leaf min-arrival {
9299                    type uint32 {9329                    type uint32 {
9300                      range "0..600000" {9330                      range "0..600000" {
9301                        description9331                        description
9302                          "The minimum interval in millisec between accepting the same LSA";9332                          "The minimum interval in millisec between accepting the same LSA";
9303                      }9333                      }
9304                    }9334                    }
9305                    description9335                    description
9306                      "OSPF MinLSArrival timer";9336                      "OSPF MinLSArrival timer";
9307                  }9337                  }
9308                  leaf refresh {9338                  leaf refresh {
9309                    type uint32 {9339                    type uint32 {
9310                      range "1800..2700" {9340                      range "1800..2700" {
9311                        description9341                        description
9312                          "How often self-originated LSAs should be refreshed, in seconds";9342                          "How often self-originated LSAs should be refreshed, in seconds";
9313                      }9343                      }
9314                    }9344                    }
9315                    description9345                    description
9316                      "OSPF LSA refresh interval";9346                      "OSPF LSA refresh interval";
9317                  }9347                  }
9318                }9348                }
9319                container pacing {9349                container pacing {
9320                  description9350                  description
9321                    "OSPF pacing timers";9351                    "OSPF pacing timers";
9322                  leaf flood {9352                  leaf flood {
9323                    type uint32 {9353                    type uint32 {
9324                      range "5..100" {9354                      range "5..100" {
9325                        description9355                        description
9326                          "Interval in msec to pace flooding on all interfaces";9356                          "Interval in msec to pace flooding on all interfaces";
9327                      }9357                      }
9328                    }9358                    }
9329                    description9359                    description
9330                      "OSPF flood pacing timer";9360                      "OSPF flood pacing timer";
9331                  }9361                  }
9332                }9362                }
9333              }9363              }
9334              container nsf {9364              container nsf {
9335                description9365                description
9336                  "Enable Cisco Non Stop Forwarding";9366                  "Enable Cisco Non Stop Forwarding";
9337                container cisco {9367                container cisco {
9338                  presence "Indicates a cisco node is configured.";9368                  presence "Indicates a cisco node is configured.";
9339                  description9369                  description
9340                    "Enable Cisco Non Stop Forwarding";9370                    "Enable Cisco Non Stop Forwarding";
9341                  container enforce {9371                  container enforce {
9342                    description9372                    description
9343                      "Cancel NSF restart when non-NSF-aware neighbors detected";9373                      "Cancel NSF restart when non-NSF-aware neighbors detected";
9344                    container global {9374                    container global {
9345                      presence "Indicates a global node is configured.";9375                      presence "Indicates a global node is configured.";
9346                      description9376                      description
9347                        "For the whole OSPF process";9377                        "For the whole OSPF process";
9348                    }9378                    }
9349                  }9379                  }
9350                }9380                }
9351                leaf interval {9381                leaf interval {
9352                  type uint32 {9382                  type uint32 {
9353                    range "90..3600" {9383                    range "90..3600" {
9354                      description9384                      description
9355                        "seconds";9385                        "seconds";
9356                    }9386                    }
9357                  }9387                  }
9358                  description9388                  description
9359                    "Minimum interval between NSF restarts (seconds)";9389                    "Minimum interval between NSF restarts (seconds)";
9360                }9390                }
9361                container ietf {9391                container ietf {
9362                  presence "Indicates a ietf node is configured.";9392                  presence "Indicates a ietf node is configured.";
9363                  description9393                  description
9364                    "Enable ietf graceful restart";9394                    "Enable ietf graceful restart";
9365                }9395                }
9366                container ietf-strict-lsa-checking {9396                container ietf-strict-lsa-checking {
9367                  presence "Indicates a strict-lsa-checking node is configured.";9397                  presence "Indicates a strict-lsa-checking node is configured.";
9368                  description9398                  description
9369                    "terminate graceful restart helper mode if lsa changed";9399                    "terminate graceful restart helper mode if lsa changed";
9370                }9400                }
9371                container ietf-helper {9401                container ietf-helper {
9372                  description9402                  description
9373                    "router's helper support level";9403                    "router's helper support level";
9374                  container disable {9404                  container disable {
9375                    presence "Indicates a disable node is configured.";9405                    presence "Indicates a disable node is configured.";
9376                    description9406                    description
9377                      "router's helper support disabled";9407                      "router's helper support disabled";
9378                  }9408                  }
9379                }9409                }
9380                leaf lifetime {9410                leaf lifetime {
9381                  type uint32 {9411                  type uint32 {
9382                    range "90..1800" {9412                    range "90..1800" {
9383                      description9413                      description
9384                        "seconds";9414                        "seconds";
9385                    }9415                    }
9386                  }9416                  }
9387                  description9417                  description
9388                    "Maximum route lifetime following restart (seconds)";9418                    "Maximum route lifetime following restart (seconds)";
9389                }9419                }
9390                leaf flush-delay-time {9420                leaf flush-delay-time {
9391                  type uint32 {9421                  type uint32 {
9392                    range "1..3600" {9422                    range "1..3600" {
9393                      description9423                      description
9394                        "seconds";9424                        "seconds";
9395                    }9425                    }
9396                  }9426                  }
9397                  description9427                  description
9398                    "Maximum time allowed for external route learning (seconds)";9428                    "Maximum time allowed for external route learning (seconds)";
9399                }9429                }
9400              }9430              }
9401              container address-family {9431              container address-family {
9402                description9432                description
9403                  "OSPF address family";9433                  "OSPF address family";
9404                container ipv4 {9434                container ipv4 {
9405                  presence "Indicates a ipv4 node is configured.";9435                  presence "Indicates a ipv4 node is configured.";
9406                  description9436                  description
9407                    "IPV4 address family";9437                    "IPV4 address family";
9408                  container unicast {9438                  container unicast {
9409                    presence "Indicates a unicast node is configured.";9439                    presence "Indicates a unicast node is configured.";
9410                    description9440                    description
9411                      "unicast topology";9441                      "unicast topology";
9412                  }9442                  }
9413                }9443                }
9414              }9444              }
9415              container maximum {9445              container maximum {
9416                description9446                description
9417                  "Set OSPF limits";9447                  "Set OSPF limits";
9418                leaf interfaces {9448                leaf interfaces {
9419                  type uint32 {9449                  type uint32 {
9420                    range "1..4294967295" {9450                    range "1..4294967295" {
9421                      description9451                      description
9422                        "Maximum number of interfaces";9452                        "Maximum number of interfaces";
9423                    }9453                    }
9424                  }9454                  }
9425                  description9455                  description
9426                    "Limit number of interfaces";9456                    "Limit number of interfaces";
9427                }9457                }
9428                leaf paths {9458                leaf paths {
9429                  type uint32 {9459                  type uint32 {
9430                    range "1..64" {9460                    range "1..64" {
9431                      description9461                      description
9432                        "Maximum number of paths per route";9462                        "Maximum number of paths per route";
9433                    }9463                    }
9434                  }9464                  }
9435                  description9465                  description
9436                    "Limit number of paths";9466                    "Limit number of paths";
9437                }9467                }
9438                container redistributed-prefixes {9468                container redistributed-prefixes {
9439                  presence "Indicates a redistributed-prefixes node is configured.";9469                  presence "Indicates a redistributed-prefixes node is configured.";
9440                  description9470                  description
9441                    "Limit number of redistributed prefixes";9471                    "Limit number of redistributed prefixes";
9442                  leaf prefixes {9472                  leaf prefixes {
9443                    type uint32 {9473                    type uint32 {
9444                      range "1..4294967295" {9474                      range "1..4294967295" {
9445                        description9475                        description
9446                          "Maximum number of prefixes redistributed into OSPF";9476                          "Maximum number of prefixes redistributed into OSPF";
9447                      }9477                      }
9448                    }9478                    }
9449                    mandatory true;9479                    mandatory true;
9450                    description9480                    description
9451                      "Limit number of redistributed prefixes";9481                      "Limit number of redistributed prefixes";
9452                  }9482                  }
9453                  leaf threshold {9483                  leaf threshold {
9454                    type uint32 {9484                    type uint32 {
9455                      range "1..100";9485                      range "1..100";
9456                    }9486                    }
9457                    description9487                    description
9458                      "Threshold value (%) at which to generate a warning msg";9488                      "Threshold value (%) at which to generate a warning msg";
9459                  }9489                  }
9460                  container warning-only {9490                  container warning-only {
9461                    presence "Indicates a warning-only node is configured.";9491                    presence "Indicates a warning-only node is configured.";
9462                    description9492                    description
9463                      "Only give warning messsage when limit is exceeded";9493                      "Only give warning messsage when limit is exceeded";
9464                  }9494                  }
9465                }9495                }
9466              }9496              }
9467              container queue {9497              container queue {
9468                description9498                description
9469                  "Adjust OSPF input queue";9499                  "Adjust OSPF input queue";
9470                container limit {9500                container limit {
9471                  description9501                  description
9472                    "High watermark for incoming priority events";9502                    "High watermark for incoming priority events";
9473                  leaf high {9503                  leaf high {
9474                    type uint32 {9504                    type uint32 {
9475                      range "1000..30000" {9505                      range "1000..30000" {
9476                        description9506                        description
9477                          "Hello events are dropped when incoming event queue exceeds this value";9507                          "Hello events are dropped when incoming event queue exceeds this value";
9478                      }9508                      }
9479                    }9509                    }
9480                    description9510                    description
9481                      "High watermark for incoming high priority events (hello)";9511                      "High watermark for incoming high priority events (hello)";
9482                  }9512                  }
9483                  leaf medium {9513                  leaf medium {
9484                    type uint32 {9514                    type uint32 {
9485                      range "1000..30000" {9515                      range "1000..30000" {
9486                        description9516                        description
9487                          "LSA ACKs are dropped when incoming event queue exceeds this value";9517                          "LSA ACKs are dropped when incoming event queue exceeds this value";
9488                      }9518                      }
9489                    }9519                    }
9490                    description9520                    description
9491                      "High watermark for incoming medium priority events (LSA ACK)";9521                      "High watermark for incoming medium priority events (LSA ACK)";
9492                  }9522                  }
9493                  leaf low {9523                  leaf low {
9494                    type uint32 {9524                    type uint32 {
9495                      range "1000..30000" {9525                      range "1000..30000" {
9496                        description9526                        description
9497                          "DBD/LS Update/Req packets are dropped when incoming event queue exceeds this value";9527                          "DBD/LS Update/Req packets are dropped when incoming event queue exceeds this value";
9498                      }9528                      }
9499                    }9529                    }
9500                    description9530                    description
9501                      "High watermark for incoming low priority events (DBD/LSUpd/Req)";9531                      "High watermark for incoming low priority events (DBD/LSUpd/Req)";
9502                  }9532                  }
9503                }9533                }
9504                container dispatch {9534                container dispatch {
9505                  description9535                  description
9506                    "Number of continuous events processed by type";9536                    "Number of continuous events processed by type";
9507                  leaf incoming {9537                  leaf incoming {
9508                    type uint32 {9538                    type uint32 {
9509                      range "30..3000" {9539                      range "30..3000" {
9510                        description9540                        description
9511                          "Maximum number of continuous events processed";9541                          "Maximum number of continuous events processed";
9512                      }9542                      }
9513                    }9543                    }
9514                    description9544                    description
9515                      "Number of continuous incoming events processed";9545                      "Number of continuous incoming events processed";
9516                  }9546                  }
9517                  leaf rate-limited-lsa {9547                  leaf rate-limited-lsa {
9518                    type uint32 {9548                    type uint32 {
9519                      range "30..3000" {9549                      range "30..3000" {
9520                        description9550                        description
9521                          "Maximum number of rate-limited LSAs processed per run";9551                          "Maximum number of rate-limited LSAs processed per run";
9522                      }9552                      }
9523                    }9553                    }
9524                    description9554                    description
9525                      "Number of rate-limited LSAs processed";9555                      "Number of rate-limited LSAs processed";
9526                  }9556                  }
9527                  leaf flush-lsa {9557                  leaf flush-lsa {
9528                    type uint32 {9558                    type uint32 {
9529                      range "30..3000" {9559                      range "30..3000" {
9530                        description9560                        description
9531                          "Maximum number of LSAs flushed per run";9561                          "Maximum number of LSAs flushed per run";
9532                      }9562                      }
9533                    }9563                    }
9534                    description9564                    description
9535                      "Number of LSAs flushed";9565                      "Number of LSAs flushed";
9536                  }9566                  }
9537                  leaf spf-lsa-limit {9567                  leaf spf-lsa-limit {
9538                    type uint32 {9568                    type uint32 {
9539                      range "30..3000" {9569                      range "30..3000" {
9540                        description9570                        description
9541                          "Maximum number of Type 3-7 LSAs processed per SPF run";9571                          "Maximum number of Type 3-7 LSAs processed per SPF run";
9542                      }9572                      }
9543                    }9573                    }
9544                    description9574                    description
9545                      "Number of summary or external LSAs processed per run";9575                      "Number of summary or external LSAs processed per run";
9546                  }9576                  }
9547                }9577                }
9548              }9578              }
9549              container summary-prefixes {9579              container summary-prefixes {
9550                description9580                description
9551                  "Configure IP address summaries";9581                  "Configure IP address summaries";
9552                list summary-prefix {9582                list summary-prefix {
9553                  key "address mask";9583                  key "address mask";
9554                  description9584                  description
9555                    "Configure IP address summaries";9585                    "Configure IP address summaries";
9556                  leaf address {9586                  leaf address {
9557                    type inet:ipv4-address-no-zone;9587                    type inet:ipv4-address-no-zone;
9558                    description9588                    description
9559                      "IP summary prefix address";9589                      "IP summary prefix address";
9560                  }9590                  }
9561                  leaf mask {9591                  leaf mask {
9562                    type inet:ipv4-address-no-zone;9592                    type inet:ipv4-address-no-zone;
9563                    description9593                    description
9564                      "IP smmary address mask";9594                      "IP smmary address mask";
9565                  }9595                  }
9566                  container not-advertise {9596                  container not-advertise {
9567                    must "not(../tag)";9597                    must "not(../tag)";
9568                    presence "Indicates a not-advertise node is configured.";9598                    presence "Indicates a not-advertise node is configured.";
9569                    description9599                    description
9570                      "Suppress routes that match the specified prefix/mask pair";9600                      "Suppress routes that match the specified prefix/mask pair";
9571                  }9601                  }
9572                  leaf tag {9602                  leaf tag {
9573                    type uint32 {9603                    type uint32 {
9574                      range "0..4294967295" {9604                      range "0..4294967295" {
9575                        description9605                        description
9576                          "32-bit tag value";9606                          "32-bit tag value";
9577                      }9607                      }
9578                    }9608                    }
9579                    must "not(../not-advertise)";9609                    must "not(../not-advertise)";
9580                    description9610                    description
9581                      "Set tag";9611                      "Set tag";
9582                  }9612                  }
9583                }9613                }
9584              }9614              }
9585              container spf {9615              container spf {
9586                description9616                description
9587                  "SPF configuration";9617                  "SPF configuration";
9588                container prefix-priority {9618                container prefix-priority {
9589                  description9619                  description
9590                    "Configure SPF prefix priority route policy";9620                    "Configure SPF prefix priority route policy";
9591                  leaf route-policy {9621                  leaf route-policy {
9592                    type xr:Route-policy-name;9622                    type xr:Route-policy-name;
9593                    description9623                    description
9594                      "Specify the route-policy to prioritize route install";9624                      "Specify the route-policy to prioritize route install";
9595                  }9625                  }
9596                }9626                }
9597              }9627              }
9598              container fast-reroute {9628              container fast-reroute {
9599                description9629                description
9600                  "IP Fast Reroute";9630                  "IP Fast Reroute";
9601                container per-prefix {9631                container per-prefix {
9602                  description9632                  description
9603                    "Per-prefix Computation";9633                    "Per-prefix Computation";
9604                  container enable {9634                  container enable {
9605                    presence "Indicates a enable node is configured.";9635                    presence "Indicates a enable node is configured.";
9606                    description9636                    description
9607                      "Enable per-prefix Computation";9637                      "Enable per-prefix Computation";
9608                  }9638                  }
9609                  container priority-limit {9639                  container priority-limit {
9610                    description9640                    description
9611                      "Limit backup computation upto the prefix priority";9641                      "Limit backup computation upto the prefix priority";
9612                    container critical {9642                    container critical {
9613                      must "not(../high) and not(../medium)";9643                      must "not(../high) and not(../medium)";
9614                      presence "Indicates a critical node is configured.";9644                      presence "Indicates a critical node is configured.";
9615                      description9645                      description
9616                        "Compute for critical priority prefixes only";9646                        "Compute for critical priority prefixes only";
9617                    }9647                    }
9618                    container high {9648                    container high {
9619                      must "not(../critical) and not(../medium)";9649                      must "not(../critical) and not(../medium)";
9620                      presence "Indicates a high node is configured.";9650                      presence "Indicates a high node is configured.";
9621                      description9651                      description
9622                        "Compute for critical & high priority prefixes ";9652                        "Compute for critical & high priority prefixes ";
9623                    }9653                    }
9624                    container medium {9654                    container medium {
9625                      must "not(../high) and not(../critical)";9655                      must "not(../high) and not(../critical)";
9626                      presence "Indicates a medium node is configured.";9656                      presence "Indicates a medium node is configured.";
9627                      description9657                      description
9628                        "Compute for critical, high & medium priority prefixes ";9658                        "Compute for critical, high & medium priority prefixes ";
9629                    }9659                    }
9630                  }9660                  }
9631                  container tiebreaker {9661                  container tiebreaker {
9632                    description9662                    description
9633                      "Configure tiebreaker for multiple backups";9663                      "Configure tiebreaker for multiple backups";
9634                    container downstream {9664                    container downstream {
9635                      description9665                      description
9636                        "Prefer backup path via downstream node";9666                        "Prefer backup path via downstream node";
9637                      leaf index {9667                      leaf index {
9638                        type uint32 {9668                        type uint32 {
9639                          range "1..255" {9669                          range "1..255" {
9640                            description9670                            description
9641                              "Index";9671                              "Index";
9642                          }9672                          }
9643                        }9673                        }
9644                        must "not(../disable)";9674                        must "not(../disable)";
9645                        description9675                        description
9646                          "Set preference order among tiebreakers";9676                          "Set preference order among tiebreakers";
9647                      }9677                      }
9648                      container disable {9678                      container disable {
9649                        must "not(../index)";9679                        must "not(../index)";
9650                        presence "Indicates a disable node is configured.";9680                        presence "Indicates a disable node is configured.";
9651                        description9681                        description
9652                          "Disable tiebreaker";9682                          "Disable tiebreaker";
9653                      }9683                      }
9654                    }9684                    }
9655                    container lc-disjoint {9685                    container lc-disjoint {
9656                      description9686                      description
9657                        "Prefer line card disjoint backup path";9687                        "Prefer line card disjoint backup path";
9658                      leaf index {9688                      leaf index {
9659                        type uint32 {9689                        type uint32 {
9660                          range "1..255" {9690                          range "1..255" {
9661                            description9691                            description
9662                              "Index";9692                              "Index";
9663                          }9693                          }
9664                        }9694                        }
9665                        must "not(../disable)";9695                        must "not(../disable)";
9666                        description9696                        description
9667                          "Set preference order among tiebreakers";9697                          "Set preference order among tiebreakers";
9668                      }9698                      }
9669                      container disable {9699                      container disable {
9670                        must "not(../index)";9700                        must "not(../index)";
9671                        presence "Indicates a disable node is configured.";9701                        presence "Indicates a disable node is configured.";
9672                        description9702                        description
9673                          "Disable tiebreaker";9703                          "Disable tiebreaker";
9674                      }9704                      }
9675                    }9705                    }
9676                    container lowest-backup-metric {9706                    container lowest-backup-metric {
9677                      description9707                      description
9678                        "Prefer backup path with lowest total metric";9708                        "Prefer backup path with lowest total metric";
9679                      leaf index {9709                      leaf index {
9680                        type uint32 {9710                        type uint32 {
9681                          range "1..255" {9711                          range "1..255" {
9682                            description9712                            description
9683                              "Index";9713                              "Index";
9684                          }9714                          }
9685                        }9715                        }
9686                        must "not(../disable)";9716                        must "not(../disable)";
9687                        description9717                        description
9688                          "Set preference order among tiebreakers";9718                          "Set preference order among tiebreakers";
9689                      }9719                      }
9690                      container disable {9720                      container disable {
9691                        must "not(../index)";9721                        must "not(../index)";
9692                        presence "Indicates a disable node is configured.";9722                        presence "Indicates a disable node is configured.";
9693                        description9723                        description
9694                          "Disable tiebreaker";9724                          "Disable tiebreaker";
9695                      }9725                      }
9696                    }9726                    }
9697                    container node-protecting {9727                    container node-protecting {
9698                      description9728                      description
9699                        "Prefer node protecting backup path";9729                        "Prefer node protecting backup path";
9700                      leaf index {9730                      leaf index {
9701                        type uint32 {9731                        type uint32 {
9702                          range "1..255" {9732                          range "1..255" {
9703                            description9733                            description
9704                              "Index";9734                              "Index";
9705                          }9735                          }
9706                        }9736                        }
9707                        must "not(../disable)";9737                        must "not(../disable)";
9708                        description9738                        description
9709                          "Set preference order among tiebreakers";9739                          "Set preference order among tiebreakers";
9710                      }9740                      }
9711                      container disable {9741                      container disable {
9712                        must "not(../index)";9742                        must "not(../index)";
9713                        presence "Indicates a disable node is configured.";9743                        presence "Indicates a disable node is configured.";
9714                        description9744                        description
9715                          "Disable tiebreaker";9745                          "Disable tiebreaker";
9716                      }9746                      }
9717                    }9747                    }
9718                    container primary-path {9748                    container primary-path {
9719                      description9749                      description
9720                        "Prefer backup path from ECMP set";9750                        "Prefer backup path from ECMP set";
9721                      leaf index {9751                      leaf index {
9722                        type uint32 {9752                        type uint32 {
9723                          range "1..255" {9753                          range "1..255" {
9724                            description9754                            description
9725                              "Index";9755                              "Index";
9726                          }9756                          }
9727                        }9757                        }
9728                        must "not(../disable)";9758                        must "not(../disable)";
9729                        description9759                        description
9730                          "Set preference order among tiebreakers";9760                          "Set preference order among tiebreakers";
9731                      }9761                      }
9732                      container disable {9762                      container disable {
9733                        must "not(../index)";9763                        must "not(../index)";
9734                        presence "Indicates a disable node is configured.";9764                        presence "Indicates a disable node is configured.";
9735                        description9765                        description
9736                          "Disable tiebreaker";9766                          "Disable tiebreaker";
9737                      }9767                      }
9738                    }9768                    }
9739                    container secondary-path {9769                    container secondary-path {
9740                      description9770                      description
9741                        "Prefer non-ECMP backup path";9771                        "Prefer non-ECMP backup path";
9742                      leaf index {9772                      leaf index {
9743                        type uint32 {9773                        type uint32 {
9744                          range "1..255" {9774                          range "1..255" {
9745                            description9775                            description
9746                              "Index";9776                              "Index";
9747                          }9777                          }
9748                        }9778                        }
9749                        must "not(../disable)";9779                        must "not(../disable)";
9750                        description9780                        description
9751                          "Set preference order among tiebreakers";9781                          "Set preference order among tiebreakers";
9752                      }9782                      }
9753                      container disable {9783                      container disable {
9754                        must "not(../index)";9784                        must "not(../index)";
9755                        presence "Indicates a disable node is configured.";9785                        presence "Indicates a disable node is configured.";
9756                        description9786                        description
9757                          "Disable tiebreaker";9787                          "Disable tiebreaker";
9758                      }9788                      }
9759                    }9789                    }
9760                    container interface-disjoint {9790                    container interface-disjoint {
9761                      description9791                      description
9762                        "Prefer Interface disjoint backup path";9792                        "Prefer Interface disjoint backup path";
9763                      leaf index {9793                      leaf index {
9764                        type uint32 {9794                        type uint32 {
9765                          range "1..255" {9795                          range "1..255" {
9766                            description9796                            description
9767                              "Index";9797                              "Index";
9768                          }9798                          }
9769                        }9799                        }
9770                        must "not(../disable)";9800                        must "not(../disable)";
9771                        description9801                        description
9772                          "Set preference order among tiebreakers";9802                          "Set preference order among tiebreakers";
9773                      }9803                      }
9774                      container disable {9804                      container disable {
9775                        must "not(../index)";9805                        must "not(../index)";
9776                        presence "Indicates a disable node is configured.";9806                        presence "Indicates a disable node is configured.";
9777                        description9807                        description
9778                          "Disable tiebreaker";9808                          "Disable tiebreaker";
9779                      }9809                      }
9780                    }9810                    }
9781                    container srlg-disjoint {9811                    container srlg-disjoint {
9782                      description9812                      description
9783                        "Prefer SRLG disjoint backup path";9813                        "Prefer SRLG disjoint backup path";
9784                      leaf index {9814                      leaf index {
9785                        type uint32 {9815                        type uint32 {
9786                          range "1..255" {9816                          range "1..255" {
9787                            description9817                            description
9788                              "Index";9818                              "Index";
9789                          }9819                          }
9790                        }9820                        }
9791                        must "not(../disable)";9821                        must "not(../disable)";
9792                        description9822                        description
9793                          "Set preference order among tiebreakers";9823                          "Set preference order among tiebreakers";
9794                      }9824                      }
9795                      container disable {9825                      container disable {
9796                        must "not(../index)";9826                        must "not(../index)";
9797                        presence "Indicates a disable node is configured.";9827                        presence "Indicates a disable node is configured.";
9798                        description9828                        description
9799                          "Disable tiebreaker";9829                          "Disable tiebreaker";
9800                      }9830                      }
9801                    }9831                    }
9802                  }9832                  }
9803                  container load-sharing {9833                  container load-sharing {
9804                    description9834                    description
9805                      "Load share prefixes across multiple backups";9835                      "Load share prefixes across multiple backups";
9806                    container disable {9836                    container disable {
9807                      presence "Indicates a disable node is configured.";9837                      presence "Indicates a disable node is configured.";
9808                      description9838                      description
9809                        "Disable load sharing";9839                        "Disable load sharing";
9810                    }9840                    }
9811                  }9841                  }
9812                  container exclude {9842                  container exclude {
9813                    description9843                    description
9814                      "Per-prefix LFA exclusion information";9844                      "Per-prefix LFA exclusion information";
9815                    container interfaces {9845                    container interfaces {
9816                      description9846                      description
9817                        "Exclude an interface from Per-prefix LFA";9847                        "Exclude an interface from Per-prefix LFA";
9818                      list interface {9848                      list interface {
9819                        key "interface-name";9849                        key "interface-name";
9820                        description9850                        description
9821                          "Exclude an interface from Per-prefix LFA";9851                          "Exclude an interface from Per-prefix LFA";
9822                        leaf interface-name {9852                        leaf interface-name {
9823                          type xr:Interface-name;9853                          type xr:Interface-name;
9824                          description9854                          description
9825                            "Exclude an interface from Per-prefix LFA";9855                            "Exclude an interface from Per-prefix LFA";
9826                        }9856                        }
9827                      }9857                      }
9828                    }9858                    }
9829                  }9859                  }
9830                  container lfa-candidate {9860                  container lfa-candidate {
9831                    description9861                    description
9832                      "FRR LFA candidate information";9862                      "FRR LFA candidate information";
9833                    container interfaces {9863                    container interfaces {
9834                      description9864                      description
9835                        "Include an interface to LFA candidate in computation";9865                        "Include an interface to LFA candidate in computation";
9836                      list interface {9866                      list interface {
9837                        key "interface-name";9867                        key "interface-name";
9838                        description9868                        description
9839                          "Include an interface to LFA candidate in computation";9869                          "Include an interface to LFA candidate in computation";
9840                        leaf interface-name {9870                        leaf interface-name {
9841                          type xr:Interface-name;9871                          type xr:Interface-name;
9842                          description9872                          description
9843                            "Include an interface to LFA candidate in computation";9873                            "Include an interface to LFA candidate in computation";
9844                        }9874                        }
9845                      }9875                      }
9846                    }9876                    }
9847                  }9877                  }
9848                  container use-candidate-only {9878                  container use-candidate-only {
9849                    description9879                    description
9850                      "Enable/Disable backup selection from candidate-list only";9880                      "Enable/Disable backup selection from candidate-list only";
9851                    container enable {9881                    container enable {
9852                      must "not(../disable)";9882                      must "not(../disable)";
9853                      presence "Indicates a enable node is configured.";9883                      presence "Indicates a enable node is configured.";
9854                      description9884                      description
9855                        "Enable backup selection from candidate-list only";9885                        "Enable backup selection from candidate-list only";
9856                    }9886                    }
9857                    container disable {9887                    container disable {
9858                      must "not(../enable)";9888                      must "not(../enable)";
9859                      presence "Indicates a disable node is configured.";9889                      presence "Indicates a disable node is configured.";
9860                      description9890                      description
9861                        "Disable backup selection from candidate-list only";9891                        "Disable backup selection from candidate-list only";
9862                    }9892                    }
9863                  }9893                  }
9864                }9894                }
9865                container per-link {9895                container per-link {
9866                  description9896                  description
9867                    "Per-link Computation";9897                    "Per-link Computation";
9868                  container enable {9898                  container enable {
9869                    presence "Indicates a enable node is configured.";9899                    presence "Indicates a enable node is configured.";
9870                    description9900                    description
9871                      "Enable per-link Computation";9901                      "Enable per-link Computation";
9872                  }9902                  }
9873                  container priority-limit {9903                  container priority-limit {
9874                    description9904                    description
9875                      "Limit backup computation upto the prefix priority";9905                      "Limit backup computation upto the prefix priority";
9876                    container critical {9906                    container critical {
9877                      must "not(../high) and not(../medium)";9907                      must "not(../high) and not(../medium)";
9878                      presence "Indicates a critical node is configured.";9908                      presence "Indicates a critical node is configured.";
9879                      description9909                      description
9880                        "Compute for critical priority prefixes only";9910                        "Compute for critical priority prefixes only";
9881                    }9911                    }
9882                    container high {9912                    container high {
9883                      must "not(../critical) and not(../medium)";9913                      must "not(../critical) and not(../medium)";
9884                      presence "Indicates a high node is configured.";9914                      presence "Indicates a high node is configured.";
9885                      description9915                      description
9886                        "Compute for critical & high priority prefixes ";9916                        "Compute for critical & high priority prefixes ";
9887                    }9917                    }
9888                    container medium {9918                    container medium {
9889                      must "not(../high) and not(../critical)";9919                      must "not(../high) and not(../critical)";
9890                      presence "Indicates a medium node is configured.";9920                      presence "Indicates a medium node is configured.";
9891                      description9921                      description
9892                        "Compute for critical, high & medium priority prefixes ";9922                        "Compute for critical, high & medium priority prefixes ";
9893                    }9923                    }
9894                  }9924                  }
9895                  container exclude {9925                  container exclude {
9896                    description9926                    description
9897                      "Per-link LFA exclusion information";9927                      "Per-link LFA exclusion information";
9898                    container interfaces {9928                    container interfaces {
9899                      description9929                      description
9900                        "Exclude an interface from Per-link LFA";9930                        "Exclude an interface from Per-link LFA";
9901                      list interface {9931                      list interface {
9902                        key "interface-name";9932                        key "interface-name";
9903                        description9933                        description
9904                          "Exclude an interface from Per-link LFA";9934                          "Exclude an interface from Per-link LFA";
9905                        leaf interface-name {9935                        leaf interface-name {
9906                          type xr:Interface-name;9936                          type xr:Interface-name;
9907                          description9937                          description
9908                            "Exclude an interface from Per-link LFA";9938                            "Exclude an interface from Per-link LFA";
9909                        }9939                        }
9910                      }9940                      }
9911                    }9941                    }
9912                  }9942                  }
9913                  container lfa-candidate {9943                  container lfa-candidate {
9914                    description9944                    description
9915                      "FRR LFA candidate information";9945                      "FRR LFA candidate information";
9916                    container interfaces {9946                    container interfaces {
9917                      description9947                      description
9918                        "Include an interface to LFA candidate in computation";9948                        "Include an interface to LFA candidate in computation";
9919                      list interface {9949                      list interface {
9920                        key "interface-name";9950                        key "interface-name";
9921                        description9951                        description
9922                          "Include an interface to LFA candidate in computation";9952                          "Include an interface to LFA candidate in computation";
9923                        leaf interface-name {9953                        leaf interface-name {
9924                          type xr:Interface-name;9954                          type xr:Interface-name;
9925                          description9955                          description
9926                            "Include an interface to LFA candidate in computation";9956                            "Include an interface to LFA candidate in computation";
9927                        }9957                        }
9928                      }9958                      }
9929                    }9959                    }
9930                  }9960                  }
9931                  container use-candidate-only {9961                  container use-candidate-only {
9932                    description9962                    description
9933                      "Enable/Disable backup selection from candidate-list only";9963                      "Enable/Disable backup selection from candidate-list only";
9934                    container enable {9964                    container enable {
9935                      must "not(../disable)";9965                      must "not(../disable)";
9936                      presence "Indicates a enable node is configured.";9966                      presence "Indicates a enable node is configured.";
9937                      description9967                      description
9938                        "Enable backup selection from candidate-list only";9968                        "Enable backup selection from candidate-list only";
9939                    }9969                    }
9940                    container disable {9970                    container disable {
9941                      must "not(../enable)";9971                      must "not(../enable)";
9942                      presence "Indicates a disable node is configured.";9972                      presence "Indicates a disable node is configured.";
9943                      description9973                      description
9944                        "Disable backup selection from candidate-list only";9974                        "Disable backup selection from candidate-list only";
9945                    }9975                    }
9946                  }9976                  }
9947                }9977                }
9948                container disable {9978                container disable {
9949                  presence "Indicates a disable node is configured.";9979                  presence "Indicates a disable node is configured.";
9950                  description9980                  description
9951                    "Disable IP Fast Reroute";9981                    "Disable IP Fast Reroute";
9952                }9982                }
9953              }9983              }
9954              container loopback {9984              container loopback {
9955                description9985                description
9956                  "OSPF loopback configuration";9986                  "OSPF loopback configuration";
9957                container stub-network {9987                container stub-network {
9958                  description9988                  description
9959                    "Advertise loopback as a stub network";9989                    "Advertise loopback as a stub network";
9960                  container enable {9990                  container enable {
9961                    must "not(../disable)";9991                    must "not(../disable)";
9962                    presence "Indicates a enable node is configured.";9992                    presence "Indicates a enable node is configured.";
9963                    description9993                    description
9964                      "Enable advertising loopback as a stub network";9994                      "Enable advertising loopback as a stub network";
9965                  }9995                  }
9966                  container disable {9996                  container disable {
9967                    must "not(../enable)";9997                    must "not(../enable)";
9968                    presence "Indicates a disable node is configured.";9998                    presence "Indicates a disable node is configured.";
9969                    description9999                    description
9970                      "Disable advertising loopback as a stub network";10000                      "Disable advertising loopback as a stub network";
9971                  }10001                  }
9972                }10002                }
9973              }10003              }
9974              container link-down {10004              container link-down {
9975                description10005                description
9976                  "Configure interface down parameters";10006                  "Configure interface down parameters";
9977                container fast-detect {10007                container fast-detect {
9978                  presence "Indicates a fast-detect node is configured.";10008                  presence "Indicates a fast-detect node is configured.";
9979                  description10009                  description
9980                    "Enable fast or early detection of link-down events";10010                    "Enable fast or early detection of link-down events";
9981                }10011                }
9982              }10012              }
9983              leaf weight {10013              leaf weight {
9984                type uint32 {10014                type uint32 {
9985                  range "1..16777214" {10015                  range "1..16777214" {
9986                    description10016                    description
9987                      "Weight value";10017                      "Weight value";
9988                  }10018                  }
9989                }10019                }
9990                description10020                description
9991                  "Interface weight";10021                  "Interface weight";
9992              }10022              }
9993              container delay {10023              container delay {
9994                description10024                description
9995                  "Delay configuration setting";10025                  "Delay configuration setting";
9996                container normalize {10026                container normalize {
9997                  description10027                  description
9998                    "Delay normalization setting";10028                    "Delay normalization setting";
9999                  leaf interval {10029                  leaf interval {
10000                    type uint32 {10030                    type uint32 {
10001                      range "1..16777215" {10031                      range "1..16777215" {
10002                        description10032                        description
10003                          "Value in microseconds";10033                          "Value in microseconds";
10004                      }10034                      }
10005                    }10035                    }
10006                    must "../offset";10036                    must "../offset";
10007                    description10037                    description
10008                      "Normalization interval";10038                      "Normalization interval";
10009                  }10039                  }
10010                  leaf offset {10040                  leaf offset {
10011                    type uint32 {10041                    type uint32 {
10012                      range "0..16777215" {10042                      range "0..16777215" {
10013                        description10043                        description
10014                          "Value in microseconds";10044                          "Value in microseconds";
10015                      }10045                      }
10016                    }10046                    }
10017                    must "../interval";10047                    must "../interval";
10018                    description10048                    description
10019                      "Normalization offset";10049                      "Normalization offset";
10020                  }10050                  }
10021                }10051                }
10022              }10052              }
10023              container microloop {10053              container microloop {
10024                description10054                description
10025                  "Microloop configuration";10055                  "Microloop configuration";
10026                container avoidance {10056                container avoidance {
10027                  presence "Indicates a avoidance node is configured.";10057                  presence "Indicates a avoidance node is configured.";
10028                  description10058                  description
10029                    "Avoid microloops";10059                    "Avoid microloops";
10030                  container protected {10060                  container protected {
10031                    presence "Indicates a protected node is configured.";10061                    presence "Indicates a protected node is configured.";
10032                    description10062                    description
10033                      "Avoid microloops for protected prefixes only";10063                      "Avoid microloops for protected prefixes only";
10034                  }10064                  }
10035                  container segment-routing {10065                  container segment-routing {
10036                    presence "Indicates a segment-routing node is configured.";10066                    presence "Indicates a segment-routing node is configured.";
10037                    description10067                    description
10038                      "Enable segment routing microloop avoidance";10068                      "Enable segment routing microloop avoidance";
10039                  }10069                  }
10040                }10070                }
10041                leaf avoidance-rib-update-delay {10071                leaf avoidance-rib-update-delay {
10042                  type uint32 {10072                  type uint32 {
10043                    range "1..600000" {10073                    range "1..600000" {
10044                      description10074                      description
10045                        "Delay in milliseconds";10075                        "Delay in milliseconds";
10046                    }10076                    }
10047                  }10077                  }
10048                  description10078                  description
10049                    "Delay to introduce between SPF and RIB update";10079                    "Delay to introduce between SPF and RIB update";
10050                }10080                }
10051              }10081              }
10052              container areas {10082              container areas {
10053                description10083                description
10054                  "Enter the OSPF area configuration submode";10084                  "Enter the OSPF area configuration submode";
10055                list area {10085                list area {
10056                  key "area-id";10086                  key "area-id";
10057                  description10087                  description
10058                    "Enter the OSPF area configuration submode";10088                    "Enter the OSPF area configuration submode";
10059                  leaf area-id {10089                  leaf area-id {
10060                    type xr:Ospf-area-id;10090                    type xr:Ospf-area-id;
10061                    description10091                    description
10062                      "Enter the OSPF area configuration submode";10092                      "Enter the OSPF area configuration submode";
10063                  }10093                  }
10064                  container ranges {10094                  container ranges {
10065                    description10095                    description
10066                      "Summarize routes matching address/mask (border routers only)";10096                      "Summarize routes matching address/mask (border routers only)";
10067                    list range {10097                    list range {
10068                      key "address mask";10098                      key "address mask";
10069                      description10099                      description
10070                        "Summarize routes matching address/mask (border routers only)";10100                        "Summarize routes matching address/mask (border routers only)";
10071                      leaf address {10101                      leaf address {
10072                        type inet:ipv4-address-no-zone;10102                        type inet:ipv4-address-no-zone;
10073                        must "(../advertise and not(../not-advertise)) or (../not-advertise and not(../advertise))";10103                        must "(../advertise and not(../not-advertise)) or (../not-advertise and not(../advertise))";
10074                        description10104                        description
10075                          "IP address";10105                          "IP address";
10076                      }10106                      }
10077                      leaf mask {10107                      leaf mask {
10078                        type inet:ipv4-address-no-zone;10108                        type inet:ipv4-address-no-zone;
10079                        description10109                        description
10080                          "IP address mask";10110                          "IP address mask";
10081                      }10111                      }
10082                      container advertise {10112                      container advertise {
10083                        presence "Indicates a advertise node is configured.";10113                        presence "Indicates a advertise node is configured.";
10084                        description10114                        description
10085                          "Advertise this range (default)";10115                          "Advertise this range (default)";
10086                      }10116                      }
10087                      container not-advertise {10117                      container not-advertise {
10088                        presence "Indicates a not-advertise node is configured.";10118                        presence "Indicates a not-advertise node is configured.";
10089                        description10119                        description
10090                          "DoNotAdvertise this range";10120                          "DoNotAdvertise this range";
10091                      }10121                      }
10092                    }10122                    }
10093                  }10123                  }
10094                  leaf default-cost {10124                  leaf default-cost {
10095                    type uint32 {10125                    type uint32 {
10096                      range "1..16777215" {10126                      range "1..16777215" {
10097                        description10127                        description
10098                          "Stub's advertised external route metric";10128                          "Stub's advertised external route metric";
10099                      }10129                      }
10100                    }10130                    }
10101                    description10131                    description
10102                      "Set the summary default-cost of a NSSA/stub area";10132                      "Set the summary default-cost of a NSSA/stub area";
10103                  }10133                  }
10104                  container stub {10134                  container stub {
10105                    presence "Indicates a stub node is configured.";10135                    presence "Indicates a stub node is configured.";
10106                    description10136                    description
10107                      "Specify the area as a stub area";10137                      "Specify the area as a stub area";
10108                    container no-summary {10138                    container no-summary {
10109                      presence "Indicates a no-summary node is configured.";10139                      presence "Indicates a no-summary node is configured.";
10110                      description10140                      description
10111                        "Do not send summary LSA into stub area";10141                        "Do not send summary LSA into stub area";
10112                    }10142                    }
10113                  }10143                  }
10114                  container nssa {10144                  container nssa {
10115                    presence "Indicates a nssa node is configured.";10145                    presence "Indicates a nssa node is configured.";
10116                    description10146                    description
10117                      "Specify area as a NSSA area";10147                      "Specify area as a NSSA area";
10118                    container no-redistribution {10148                    container no-redistribution {
10119                      presence "Indicates a no-redistribution node is configured.";10149                      presence "Indicates a no-redistribution node is configured.";
10120                      description10150                      description
10121                        "No redistribution into this NSSA area";10151                        "No redistribution into this NSSA area";
10122                    }10152                    }
10123                    container default-information-originate {10153                    container default-information-originate {
10124                      presence "Indicates a default-information-originate node is configured.";10154                      presence "Indicates a default-information-originate node is configured.";
10125                      description10155                      description
10126                        "Originate Type 7 default into NSSA area";10156                        "Originate Type 7 default into NSSA area";
10127                      leaf metric {10157                      leaf metric {
10128                        type uint32 {10158                        type uint32 {
10129                          range "1..16777214" {10159                          range "1..16777214" {
10130                            description10160                            description
10131                              "OSPF metric";10161                              "OSPF metric";
10132                          }10162                          }
10133                        }10163                        }
10134                        description10164                        description
10135                          "OSPF default metric";10165                          "OSPF default metric";
10136                      }10166                      }
10137                      leaf metric-type {10167                      leaf metric-type {
10138                        type uint32 {10168                        type uint32 {
10139                          range "1..2" {10169                          range "1..2" {
10140                            description10170                            description
10141                              "Link State metric type";10171                              "Link State metric type";
10142                          }10172                          }
10143                        }10173                        }
10144                        description10174                        description
10145                          "OSPF metric type for default routes";10175                          "OSPF metric type for default routes";
10146                      }10176                      }
10147                    }10177                    }
10148                    container no-summary {10178                    container no-summary {
10149                      presence "Indicates a no-summary node is configured.";10179                      presence "Indicates a no-summary node is configured.";
10150                      description10180                      description
10151                        "Do not send summary LSA into NSSA";10181                        "Do not send summary LSA into NSSA";
10152                    }10182                    }
10153                  }10183                  }
10154                  container nssa-translate {10184                  container nssa-translate {
10155                    description10185                    description
10156                      "Translate NSSA LSA";10186                      "Translate NSSA LSA";
10157                    container type7 {10187                    container type7 {
10158                      description10188                      description
10159                        "Translate type 7 to type 5";10189                        "Translate type 7 to type 5";
10160                      container always {10190                      container always {
10161                        presence "Indicates a always node is configured.";10191                        presence "Indicates a always node is configured.";
10162                        description10192                        description
10163                          "Always translate NSSA LSAs on this ABR";10193                          "Always translate NSSA LSAs on this ABR";
10164                      }10194                      }
10165                    }10195                    }
10166                  }10196                  }
10167                  container route-policy {10197                  container route-policy {
10168                    description10198                    description
10169                      "Specify the route-policy to filter type 3 LSAs";10199                      "Specify the route-policy to filter type 3 LSAs";
10170                    leaf in {10200                    leaf in {
10171                      type xr:Route-policy-name;10201                      type xr:Route-policy-name;
10172                      description10202                      description
10173                        "route-policy to filter inbound";10203                        "route-policy to filter inbound";
10174                    }10204                    }
10175                    leaf out {10205                    leaf out {
10176                      type xr:Route-policy-name;10206                      type xr:Route-policy-name;
10177                      description10207                      description
10178                        "route-policy to filter outbound";10208                        "route-policy to filter outbound";
10179                    }10209                    }
10180                  }10210                  }
10181                  container external-out {10211                  container external-out {
10182                    description10212                    description
10183                      "Enable/Disable advertisement of intra-area prefixes as external";10213                      "Enable/Disable advertisement of intra-area prefixes as external";
10184                    container enable {10214                    container enable {
10185                      must "not(../disable)";10215                      must "not(../disable)";
10186                      presence "Indicates a enable node is configured.";10216                      presence "Indicates a enable node is configured.";
10187                      description10217                      description
10188                        "Enable advertisement of intra-area routes as external";10218                        "Enable advertisement of intra-area routes as external";
10189                    }10219                    }
10190                    container disable {10220                    container disable {
10191                      must "not(../enable)";10221                      must "not(../enable)";
10192                      presence "Indicates a disable node is configured.";10222                      presence "Indicates a disable node is configured.";
10193                      description10223                      description
10194                        "Disable advertisement of intra-area routes as external";10224                        "Disable advertisement of intra-area routes as external";
10195                    }10225                    }
10196                  }10226                  }
10197                  container summary-in {10227                  container summary-in {
10198                    description10228                    description
10199                      "Enable/Disable advertisement of external prefixes as inter-area";10229                      "Enable/Disable advertisement of external prefixes as inter-area";
10200                    container enable {10230                    container enable {
10201                      must "not(../disable)";10231                      must "not(../disable)";
10202                      presence "Indicates a enable node is configured.";10232                      presence "Indicates a enable node is configured.";
10203                      description10233                      description
10204                        "Enable advertisement of external prefixes as inter-area";10234                        "Enable advertisement of external prefixes as inter-area";
10205                    }10235                    }
10206                    container disable {10236                    container disable {
10207                      must "not(../enable)";10237                      must "not(../enable)";
10208                      presence "Indicates a disable node is configured.";10238                      presence "Indicates a disable node is configured.";
10209                      description10239                      description
10210                        "Disable advertisement of external prefixes as inter-area";10240                        "Disable advertisement of external prefixes as inter-area";
10211                    }10241                    }
10212                  }10242                  }
10213                  container interfaces {10243                  container interfaces {
10214                    description10244                    description
10215                      "Enable routing on an interface ";10245                      "Enable routing on an interface ";
10216                    list interface {10246                    list interface {
10217                      key "interface-name";10247                      key "interface-name";
10218                      description10248                      description
10219                        "Enable routing on an interface ";10249                        "Enable routing on an interface ";
10220                      leaf interface-name {10250                      leaf interface-name {
10221                        type xr:Interface-name;10251                        type xr:Interface-name;
10222                        description10252                        description
10223                          "Enable routing on an interface ";10253                          "Enable routing on an interface ";
10224                      }10254                      }
10225                      container neighbors {10255                      container neighbors {
10226                        description10256                        description
10227                          "Specify a neighbor router";10257                          "Specify a neighbor router";
10228                        list neighbor {10258                        list neighbor {
10229                          key "neighbor-address";10259                          key "neighbor-address";
10230                          description10260                          description
10231                            "Specify a neighbor router";10261                            "Specify a neighbor router";
10232                          leaf neighbor-address {10262                          leaf neighbor-address {
10233                            type inet:ipv4-address-no-zone;10263                            type inet:ipv4-address-no-zone;
10234                            description10264                            description
10235                              "Specify a neighbor router";10265                              "Specify a neighbor router";
10236                          }10266                          }
10237                          container database-filter {10267                          container database-filter {
10238                            description10268                            description
10239                              "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";10269                              "Filter OSPF LSA during synchronization and flooding for point-to-multipoint neighbor";
10240                            container all {10270                            container all {
10241                              description10271                              description
10242                                "Filter all LSA";10272                                "Filter all LSA";
10243                              container out {10273                              container out {
10244                                presence "Indicates a out node is configured.";10274                                presence "Indicates a out node is configured.";
10245                                description10275                                description
10246                                  "Outgoing LSA";10276                                  "Outgoing LSA";
10247                              }10277                              }
10248                            }10278                            }
10249                          }10279                          }
10250                          leaf priority {10280                          leaf priority {
10251                            type uint32 {10281                            type uint32 {
10252                              range "0..255" {10282                              range "0..255" {
10253                                description10283                                description
10254                                  "Priority";10284                                  "Priority";
10255                              }10285                              }
10256                            }10286                            }
10257                            description10287                            description
10258                              "OSPF priority of non-broadcast neighbor";10288                              "OSPF priority of non-broadcast neighbor";
10259                          }10289                          }
10260                          leaf poll-interval {10290                          leaf poll-interval {
10261                            type uint32 {10291                            type uint32 {
10262                              range "0..65535" {10292                              range "0..65535" {
10263                                description10293                                description
10264                                  "Seconds";10294                                  "Seconds";
10265                              }10295                              }
10266                            }10296                            }
10267                            description10297                            description
10268                              "OSPF dead-router polling interval";10298                              "OSPF dead-router polling interval";
10269                          }10299                          }
10270                          leaf cost {10300                          leaf cost {
10271                            type uint32 {10301                            type uint32 {
10272                              range "1..65535" {10302                              range "1..65535" {
10273                                description10303                                description
10274                                  "Metric";10304                                  "Metric";
10275                              }10305                              }
10276                            }10306                            }
10277                            description10307                            description
10278                              "OSPF cost for point-to-multipoint neighbor";10308                              "OSPF cost for point-to-multipoint neighbor";
10279                          }10309                          }
10280                        }10310                        }
10281                      }10311                      }
10282                      container authentication-key {10312                      container authentication-key {
10283                        description10313                        description
10284                          "Authentication password (key)";10314                          "Authentication password (key)";
10285                        leaf encrypted {10315                        leaf encrypted {
10286                          type xr:Proprietary-password;10316                          type xr:Proprietary-password;
10287                          description10317                          description
10288                            "Specifies an ENCRYPTED password (key) will follow";10318                            "Specifies an ENCRYPTED password (key) will follow";
10289                        }10319                        }
10290                      }10320                      }
10291                      container message-digest-keys {10321                      container message-digest-keys {
10292                        description10322                        description
10293                          "Message digest authentication password (key)";10323                          "Message digest authentication password (key)";
10294                        list message-digest-key {10324                        list message-digest-key {
10295                          key "message-digest-key-id";10325                          key "message-digest-key-id";
10296                          description10326                          description
10297                            "Message digest authentication password (key)";10327                            "Message digest authentication password (key)";
10298                          leaf message-digest-key-id {10328                          leaf message-digest-key-id {
10299                            type uint32 {10329                            type uint32 {
10300                              range "1..255" {10330                              range "1..255" {
10301                                description10331                                description
10302                                  "Key ID";10332                                  "Key ID";
10303                              }10333                              }
10304                            }10334                            }
10305                            description10335                            description
10306                              "Message digest authentication password (key)";10336                              "Message digest authentication password (key)";
10307                          }10337                          }
10308                          container md5 {10338                          container md5 {
10309                            description10339                            description
10310                              "Use MD5 algorithm";10340                              "Use MD5 algorithm";
10311                            leaf encrypted {10341                            leaf encrypted {
10312                              type xr:Proprietary-password;10342                              type xr:Proprietary-password;
10313                              mandatory true;10343                              mandatory true;
10314                              description10344                              description
10315                                "Specifies an ENCRYPTED password (key) will follow";10345                                "Specifies an ENCRYPTED password (key) will follow";
10316                            }10346                            }
10317                          }10347                          }
10318                        }10348                        }
10319                      }10349                      }
10320                      container authentication {10350                      container authentication {
10321                        presence "Indicates a authentication node is configured.";10351                        presence "Indicates a authentication node is configured.";
10322                        description10352                        description
10323                          "Enable authentication";10353                          "Enable authentication";
10324                        container message-digest {10354                        container message-digest {
10325                          must "not(../null or ../keychain)";10355                          must "not(../null or ../keychain)";
10326                          presence "Indicates a message-digest node is configured.";10356                          presence "Indicates a message-digest node is configured.";
10327                          description10357                          description
10328                            "Use message-digest authentication";10358                            "Use message-digest authentication";
10329                        }10359                        }
10330                        container keychain {10360                        container keychain {
10331                          must "../keychain-name";10361                          must "../keychain-name";
10332                          presence "Indicates a keychain node is configured.";10362                          presence "Indicates a keychain node is configured.";
10333                          description10363                          description
10334                            "Use keychain";10364                            "Use keychain";
10335                        }10365                        }
10336                        leaf keychain-name {10366                        leaf keychain-name {
10337                          type string {10367                          type string {
10338                            length "1..32" {10368                            length "1..32" {
10339                              description10369                              description
10340                                "The keychain name";10370                                "The keychain name";
10341                            }10371                            }
10342                          }10372                          }
10343                          must "(../message-digest or ../keychain) and not(../null)";10373                          must "(../message-digest or ../keychain) and not(../null)";
10344                          description10374                          description
10345                            "Specify keychain name";10375                            "Specify keychain name";
10346                        }10376                        }
10347                        container null {10377                        container null {
10348                          must "not(../message-digest or ../keychain)";10378                          must "not(../message-digest or ../keychain)";
10349                          presence "Indicates a null node is configured.";10379                          presence "Indicates a null node is configured.";
10350                          description10380                          description
10351                            "Use no authentication";10381                            "Use no authentication";
10352                        }10382                        }
10353                      }10383                      }
10354                      container network {10384                      container network {
10355                        description10385                        description
10356                          "Network type";10386                          "Network type";
10357                        container broadcast {10387                        container broadcast {
10358                          presence "Indicates a broadcast node is configured.";10388                          presence "Indicates a broadcast node is configured.";
10359                          description10389                          description
10360                            "Specify OSPF broadcast multi-access network";10390                            "Specify OSPF broadcast multi-access network";
10361                        }10391                        }
10362                        container non-broadcast {10392                        container non-broadcast {
10363                          presence "Indicates a non-broadcast node is configured.";10393                          presence "Indicates a non-broadcast node is configured.";
10364                          description10394                          description
10365                            "Specify OSPF NBMA network";10395                            "Specify OSPF NBMA network";
10366                        }10396                        }
10367                        container point-to-point {10397                        container point-to-point {
10368                          presence "Indicates a point-to-point node is configured.";10398                          presence "Indicates a point-to-point node is configured.";
10369                          description10399                          description
10370                            "Specify OSPF point-to-point network";10400                            "Specify OSPF point-to-point network";
10371                        }10401                        }
10372                        container point-to-multipoint {10402                        container point-to-multipoint {
10373                          presence "Indicates a point-to-multipoint node is configured.";10403                          presence "Indicates a point-to-multipoint node is configured.";
10374                          description10404                          description
10375                            "Specify OSPF point-to-multipoint network";10405                            "Specify OSPF point-to-multipoint network";
10376                        }10406                        }
10377                      }10407                      }
10378                      container mpls {10408                      container mpls {
10379                        description10409                        description
10380                          "Configure MPLS routing protocol parameters";10410                          "Configure MPLS routing protocol parameters";
10381                        container ldp {10411                        container ldp {
10382                          description10412                          description
10383                            "Configure LDP parameters";10413                            "Configure LDP parameters";
10384                          container sync {10414                          container sync {
10385                            presence "Indicates a sync node is configured.";10415                            presence "Indicates a sync node is configured.";
10386                            description10416                            description
10387                              "Enable LDP IGP synchronization on interfaces";10417                              "Enable LDP IGP synchronization on interfaces";
10388                            container disable {10418                            container disable {
10389                              presence "Indicates a disable node is configured.";10419                              presence "Indicates a disable node is configured.";
10390                              description10420                              description
10391                                "Disable MPLS LDP sync";10421                                "Disable MPLS LDP sync";
10392                            }10422                            }
10393                          }10423                          }
10394                        }10424                        }
10395                      }10425                      }
10396                      leaf cost {10426                      leaf cost {
10397                        type uint32 {10427                        type uint32 {
10398                          range "1..65535" {10428                          range "1..65535" {
10399                            description10429                            description
10400                              "Cost";10430                              "Cost";
10401                          }10431                          }
10402                        }10432                        }
10403                        description10433                        description
10404                          "Interface cost";10434                          "Interface cost";
10405                      }10435                      }
10406                      container cost-fallback {10436                      container cost-fallback {
10407                        presence "Indicates a cost-fallback node is configured.";10437                        presence "Indicates a cost-fallback node is configured.";
10408                        description10438                        description
10409                          "Cost when cumulative bandwidth goes below the theshold";10439                          "Cost when cumulative bandwidth goes below the theshold";
10410                        leaf cost {10440                        leaf cost {
10411                          type uint32 {10441                          type uint32 {
10412                            range "1..65535" {10442                            range "1..65535" {
10413                              description10443                              description
10414                                "Cost";10444                                "Cost";
10415                            }10445                            }
10416                          }10446                          }
10417                          must "(../threshold)";10447                          must "(../threshold)";
10418                          description10448                          description
10419                            "Cost when cumulative bandwidth goes below the theshold";10449                            "Cost when cumulative bandwidth goes below the theshold";
10420                        }10450                        }
10421                        leaf threshold {10451                        leaf threshold {
10422                          type uint32 {10452                          type uint32 {
10423                            range "1..4294967" {10453                            range "1..4294967" {
10424                              description10454                              description
10425                                "Threshold bandwidth in Mbits per second";10455                                "Threshold bandwidth in Mbits per second";
10426                            }10456                            }
10427                          }10457                          }
10428                          must "(../cost)";10458                          must "(../cost)";
10429                          description10459                          description
10430                            "Threshold bandwidth when cost-fallback is applied";10460                            "Threshold bandwidth when cost-fallback is applied";
10431                        }10461                        }
10432                        container anomaly {10462                        container anomaly {
10433                          description10463                          description
10434                            "Penalty when a delay or loss is notified";10464                            "Penalty when a delay or loss is notified";
10435                          container delay {10465                          container delay {
10436                            description10466                            description
10437                              "Penalty when a delay is notified";10467                              "Penalty when a delay is notified";
10438                            container igp-metric {10468                            container igp-metric {
10439                              description10469                              description
10440                                "Penalty on IGP metric";10470                                "Penalty on IGP metric";
10441                              leaf increment {10471                              leaf increment {
10442                                type uint32 {10472                                type uint32 {
10443                                  range "1..65534" {10473                                  range "1..65534" {
10444                                    description10474                                    description
10445                                      "Increment by this value";10475                                      "Increment by this value";
10446                                  }10476                                  }
10447                                }10477                                }
10448                                must10478                                must
10449                                  "not(../multiplier or ../value10479                                  "not(../multiplier or ../value
10450                                   or ../disable)";10480                                   or ../disable)";
10451                                description10481                                description
10452                                  "Increment the IGP cost by the specified value";10482                                  "Increment the IGP cost by the specified value";
10453                              }10483                              }
10454                              leaf multiplier {10484                              leaf multiplier {
10455                                type uint32 {10485                                type uint32 {
10456                                  range "1..255" {10486                                  range "1..255" {
10457                                    description10487                                    description
10458                                      "Multiply by this value";10488                                      "Multiply by this value";
10459                                  }10489                                  }
10460                                }10490                                }
10461                                must10491                                must
10462                                  "not(../increment or ../value10492                                  "not(../increment or ../value
10463                                   or ../disable)";10493                                   or ../disable)";
10464                                description10494                                description
10465                                  "Multiply the IGP cost by the specified value";10495                                  "Multiply the IGP cost by the specified value";
10466                              }10496                              }
10467                              leaf value {10497                              leaf value {
10468                                type uint32 {10498                                type uint32 {
10469                                  range "1..65535" {10499                                  range "1..65535" {
10470                                    description10500                                    description
10471                                      "Set to this value";10501                                      "Set to this value";
10472                                  }10502                                  }
10473                                }10503                                }
10474                                must10504                                must
10475                                  "not(../increment or ../multiplier10505                                  "not(../increment or ../multiplier
10476                                   or ../disable)";10506                                   or ../disable)";
10477                                description10507                                description
10478                                  "Set the IGP cost to the specified value";10508                                  "Set the IGP cost to the specified value";
10479                              }10509                              }
10480                              container disable {10510                              container disable {
10481                                must10511                                must
10482                                  "not(../increment or ../multiplier10512                                  "not(../increment or ../multiplier
10483                                   or ../value)";10513                                   or ../value)";
10484                                presence "Indicates a disable node is configured.";10514                                presence "Indicates a disable node is configured.";
10485                                description10515                                description
10486                                  "Disable igp-metric";10516                                  "Disable igp-metric";
10487                              }10517                              }
10488                            }10518                            }
10489                            container te-metric {10519                            container te-metric {
10490                              description10520                              description
10491                                "Penalty on TE metric";10521                                "Penalty on TE metric";
10492                              leaf increment {10522                              leaf increment {
10493                                type uint32 {10523                                type uint32 {
10494                                  range "1..4294967294" {10524                                  range "1..4294967294" {
10495                                    description10525                                    description
10496                                      "Increment by this value";10526                                      "Increment by this value";
10497                                  }10527                                  }
10498                                }10528                                }
10499                                must10529                                must
10500                                  "not(../multiplier or ../value10530                                  "not(../multiplier or ../value
10501                                   or ../disable)";10531                                   or ../disable)";
10502                                description10532                                description
10503                                  "Increment the TE metric by the specified value";10533                                  "Increment the TE metric by the specified value";
10504                              }10534                              }
10505                              leaf multiplier {10535                              leaf multiplier {
10506                                type uint32 {10536                                type uint32 {
10507                                  range "1..255" {10537                                  range "1..255" {
10508                                    description10538                                    description
10509                                      "Multiply by this value";10539                                      "Multiply by this value";
10510                                  }10540                                  }
10511                                }10541                                }
10512                                must10542                                must
10513                                  "not(../increment or ../value10543                                  "not(../increment or ../value
10514                                   or ../disable)";10544                                   or ../disable)";
10515                                description10545                                description
10516                                  "Multiply the TE metric by the specified value";10546                                  "Multiply the TE metric by the specified value";
10517                              }10547                              }
10518                              leaf value {10548                              leaf value {
10519                                type uint32 {10549                                type uint32 {
10520                                  range "1..4294967295" {10550                                  range "1..4294967295" {
10521                                    description10551                                    description
10522                                      "Set to this value";10552                                      "Set to this value";
10523                                  }10553                                  }
10524                                }10554                                }
10525                                must10555                                must
10526                                  "not(../increment or ../multiplier10556                                  "not(../increment or ../multiplier
10527                                   or ../disable)";10557                                   or ../disable)";
10528                                description10558                                description
10529                                  "Set the TE cost to the specified value";10559                                  "Set the TE cost to the specified value";
10530                              }10560                              }
10531                              container disable {10561                              container disable {
10532                                must10562                                must
10533                                  "not(../increment or ../multiplier10563                                  "not(../increment or ../multiplier
10534                                   or ../value)";10564                                   or ../value)";
10535                                presence "Indicates a disable node is configured.";10565                                presence "Indicates a disable node is configured.";
10536                                description10566                                description
10537                                  "Disable te-metric";10567                                  "Disable te-metric";
10538                              }10568                              }
10539                            }10569                            }
10540                          }10570                          }
10541                        }10571                        }
10542                      }10572                      }
10543                      leaf hello-interval {10573                      leaf hello-interval {
10544                        type uint32 {10574                        type uint32 {
10545                          range "1..65535" {10575                          range "1..65535" {
10546                            description10576                            description
10547                              "Seconds";10577                              "Seconds";
10548                          }10578                          }
10549                        }10579                        }
10550                        description10580                        description
10551                          "Time between HELLO packets";10581                          "Time between HELLO packets";
10552                      }10582                      }
10553                      leaf dead-interval {10583                      leaf dead-interval {
10554                        type uint32 {10584                        type uint32 {
10555                          range "1..65535" {10585                          range "1..65535" {
10556                            description10586                            description
10557                              "Seconds";10587                              "Seconds";
10558                          }10588                          }
10559                        }10589                        }
10560                        must "not(../dead-interval-minimal-hello-multiplier)";10590                        must "not(../dead-interval-minimal-hello-multiplier)";
10561                        description10591                        description
10562                          "Seconds";10592                          "Seconds";
10563                      }10593                      }
10564                      leaf dead-interval-minimal-hello-multiplier {10594                      leaf dead-interval-minimal-hello-multiplier {
10565                        type uint32 {10595                        type uint32 {
10566                          range "3..20" {10596                          range "3..20" {
10567                            description10597                            description
10568                              "Multiplier";10598                              "Multiplier";
10569                          }10599                          }
10570                        }10600                        }
10571                        must "not(../dead-interval)";10601                        must "not(../dead-interval)";
10572                        description10602                        description
10573                          "Set multiplier for Hellos";10603                          "Set multiplier for Hellos";
10574                      }10604                      }
10575                      leaf priority {10605                      leaf priority {
10576                        type uint32 {10606                        type uint32 {
10577                          range "0..255" {10607                          range "0..255" {
10578                            description10608                            description
10579                              "Priority";10609                              "Priority";
10580                          }10610                          }
10581                        }10611                        }
10582                        description10612                        description
10583                          "Router priority";10613                          "Router priority";
10584                      }10614                      }
10585                      leaf retransmit-interval {10615                      leaf retransmit-interval {
10586                        type uint32 {10616                        type uint32 {
10587                          range "1..65535" {10617                          range "1..65535" {
10588                            description10618                            description
10589                              "Seconds";10619                              "Seconds";
10590                          }10620                          }
10591                        }10621                        }
10592                        description10622                        description
10593                          "Time between retransmitting lost link state advertisements";10623                          "Time between retransmitting lost link state advertisements";
10594                      }10624                      }
10595                      leaf transmit-delay {10625                      leaf transmit-delay {
10596                        type uint32 {10626                        type uint32 {
10597                          range "1..65535" {10627                          range "1..65535" {
10598                            description10628                            description
10599                              "Seconds";10629                              "Seconds";
10600                          }10630                          }
10601                        }10631                        }
10602                        description10632                        description
10603                          "Estimated time needed to send link-state update packet";10633                          "Estimated time needed to send link-state update packet";
10604                      }10634                      }
10605                      container flood-reduction {10635                      container flood-reduction {
10606                        description10636                        description
10607                          "OSPF Flood Reduction";10637                          "OSPF Flood Reduction";
10608                        container enable {10638                        container enable {
10609                          must "not(../disable)";10639                          must "not(../disable)";
10610                          presence "Indicates a enable node is configured.";10640                          presence "Indicates a enable node is configured.";
10611                          description10641                          description
10612                            "Enable flooding reduction";10642                            "Enable flooding reduction";
10613                        }10643                        }
10614                        container disable {10644                        container disable {
10615                          must "not(../enable)";10645                          must "not(../enable)";
10616                          presence "Indicates a disable node is configured.";10646                          presence "Indicates a disable node is configured.";
10617                          description10647                          description
10618                            "Disable flooding reduction";10648                            "Disable flooding reduction";
10619                        }10649                        }
10620                      }10650                      }
10621                      container demand-circuit {10651                      container demand-circuit {
10622                        description10652                        description
10623                          "Enable/Disable demand circuits";10653                          "Enable/Disable demand circuits";
10624                        container enable {10654                        container enable {
10625                          must "not(../disable)";10655                          must "not(../disable)";
10626                          presence "Indicates a enable node is configured.";10656                          presence "Indicates a enable node is configured.";
10627                          description10657                          description
10628                            "Enable demand circuits";10658                            "Enable demand circuits";
10629                        }10659                        }
10630                        container disable {10660                        container disable {
10631                          must "not(../enable)";10661                          must "not(../enable)";
10632                          presence "Indicates a disable node is configured.";10662                          presence "Indicates a disable node is configured.";
10633                          description10663                          description
10634                            "Disable demand circuits";10664                            "Disable demand circuits";
10635                        }10665                        }
10636                      }10666                      }
10637                      container mtu-ignore {10667                      container mtu-ignore {
10638                        description10668                        description
10639                          "Enable/Disable ignoring of MTU in DBD packets";10669                          "Enable/Disable ignoring of MTU in DBD packets";
10640                        container enable {10670                        container enable {
10641                          must "not(../disable)";10671                          must "not(../disable)";
10642                          presence "Indicates a enable node is configured.";10672                          presence "Indicates a enable node is configured.";
10643                          description10673                          description
10644                            "Ignores the MTU in DBD packets";10674                            "Ignores the MTU in DBD packets";
10645                        }10675                        }
10646                        container disable {10676                        container disable {
10647                          must "not(../enable)";10677                          must "not(../enable)";
10648                          presence "Indicates a disable node is configured.";10678                          presence "Indicates a disable node is configured.";
10649                          description10679                          description
10650                            "Disable ignoring of MTU in DBD packets";10680                            "Disable ignoring of MTU in DBD packets";
10651                        }10681                        }
10652                      }10682                      }
10653                      container database-filter {10683                      container database-filter {
10654                        description10684                        description
10655                          "Filter OSPF LSA during synchronization and flooding";10685                          "Filter OSPF LSA during synchronization and flooding";
10656                        container all {10686                        container all {
10657                          description10687                          description
10658                            "Filter all LSA";10688                            "Filter all LSA";
10659                          container out {10689                          container out {
10660                            description10690                            description
10661                              "Outgoing LSA";10691                              "Outgoing LSA";
10662                            container enable {10692                            container enable {
10663                              must "not(../disable)";10693                              must "not(../disable)";
10664                              presence "Indicates a enable node is configured.";10694                              presence "Indicates a enable node is configured.";
10665                              description10695                              description
10666                                "Enable filtering";10696                                "Enable filtering";
10667                            }10697                            }
10668                            container disable {10698                            container disable {
10669                              must "not(../enable)";10699                              must "not(../enable)";
10670                              presence "Indicates a disable node is configured.";10700                              presence "Indicates a disable node is configured.";
10671                              description10701                              description
10672                                "Disable filtering";10702                                "Disable filtering";
10673                            }10703                            }
10674                          }10704                          }
10675                        }10705                        }
10676                      }10706                      }
10677                      container passive {10707                      container passive {
10678                        description10708                        description
10679                          "Enable/Disable passive";10709                          "Enable/Disable passive";
10680                        container enable {10710                        container enable {
10681                          must "not(../disable)";10711                          must "not(../disable)";
10682                          presence "Indicates a enable node is configured.";10712                          presence "Indicates a enable node is configured.";
10683                          description10713                          description
10684                            "Enable passive";10714                            "Enable passive";
10685                        }10715                        }
10686                        container disable {10716                        container disable {
10687                          must "not(../enable)";10717                          must "not(../enable)";
10688                          presence "Indicates a disable node is configured.";10718                          presence "Indicates a disable node is configured.";
10689                          description10719                          description
10690                            "Disable passive";10720                            "Disable passive";
10691                        }10721                        }
10692                      }10722                      }
10693                      container distribute-list {10723                      container distribute-list {
10694                        description10724                        description
10695                          "Filter networks in routing updates";10725                          "Filter networks in routing updates";
10696                        leaf access-list {10726                        leaf access-list {
10697                          type string;10727                          type string;
10698                          must "not(../route-policy)";10728                          must "not(../route-policy)";
10699                          description10729                          description
10700                            "In-bound access-list name.";10730                            "In-bound access-list name.";
10701                        }10731                        }
10702                        leaf route-policy {10732                        leaf route-policy {
10703                          type xr:Route-policy-name;10733                          type xr:Route-policy-name;
10704                          must "not(../access-list)";10734                          must "not(../access-list)";
10705                          description10735                          description
10706                            "Route Policy to filter OSPF prefixes";10736                            "Route Policy to filter OSPF prefixes";
10707                        }10737                        }
10708                      }10738                      }
10709                      leaf packet-size {10739                      leaf packet-size {
10710                        type uint32 {10740                        type uint32 {
10711                          range "576..10000" {10741                          range "576..10000" {
10712                            description10742                            description
10713                              "Size of OSPF packets to use. Min: 576  Max: MTU bytes";10743                              "Size of OSPF packets to use. Min: 576  Max: MTU bytes";
10714                          }10744                          }
10715                        }10745                        }
10716                        description10746                        description
10717                          "Customize size of OSPF packets upto MTU";10747                          "Customize size of OSPF packets upto MTU";
10718                      }10748                      }
10719                      container bfd {10749                      container bfd {
10720                        description10750                        description
10721                          "Configure BFD parameters";10751                          "Configure BFD parameters";
10722                        container fast-detect {10752                        container fast-detect {
10723                          must "not(strict-mode and disable)";10753                          must "not(strict-mode and disable)";
10724                          presence "Indicates a fast-detect node is configured.";10754                          presence "Indicates a fast-detect node is configured.";
10725                          description10755                          description
10726                            "Enable Fast detection";10756                            "Enable Fast detection";
10727                          container strict-mode {10757                          container strict-mode {
10728                            presence "Indicates a strict-mode node is configured.";10758                            presence "Indicates a strict-mode node is configured.";
10729                            description10759                            description
10730                              "Hold down neighbor session until BFD session is up";10760                              "Hold down neighbor session until BFD session is up";
10731                          }10761                          }
10732                          container disable {10762                          container disable {
10733                            presence "Indicates a disable node is configured.";10763                            presence "Indicates a disable node is configured.";
10734                            description10764                            description
10735                              "Prevent bfd settings from being inherited from the parent";10765                              "Prevent bfd settings from being inherited from the parent";
10736                          }10766                          }
10737                        }10767                        }
10738                        leaf minimum-interval {10768                        leaf minimum-interval {
10739                          type uint32 {10769                          type uint32 {
10740                            range "3..30000" {10770                            range "3..30000" {
10741                              description10771                              description
10742                                "minimum interval in milli-seconds";10772                                "minimum interval in milli-seconds";
10743                            }10773                            }
10744                          }10774                          }
10745                          description10775                          description
10746                            "Minimum interval";10776                            "Minimum interval";
10747                        }10777                        }
10748                        leaf multiplier {10778                        leaf multiplier {
10749                          type uint32 {10779                          type uint32 {
10750                            range "2..50" {10780                            range "2..50" {
10751                              description10781                              description
10752                                "Detect multiplier";10782                                "Detect multiplier";
10753                            }10783                            }
10754                          }10784                          }
10755                          description10785                          description
10756                            "Detect multiplier";10786                            "Detect multiplier";
10757                        }10787                        }
10758                      }10788                      }
10759                      container security {10789                      container security {
10760                        description10790                        description
10761                          "Enable security";10791                          "Enable security";
10762                        container ttl {10792                        container ttl {
10763                          must "not(hops and disable)";10793                          must "not(hops and disable)";
10764                          presence "Indicates a ttl node is configured.";10794                          presence "Indicates a ttl node is configured.";
10765                          description10795                          description
10766                            "Enable ttl security";10796                            "Enable ttl security";
10767                          leaf hops {10797                          leaf hops {
10768                            type uint32 {10798                            type uint32 {
10769                              range "1..254" {10799                              range "1..254" {
10770                                description10800                                description
10771                                  "maximum number of hops allowed";10801                                  "maximum number of hops allowed";
10772                              }10802                              }
10773                            }10803                            }
10774                            description10804                            description
10775                              "IP hops";10805                              "IP hops";
10776                          }10806                          }
10777                          container disable {10807                          container disable {
10778                            presence "Indicates a disable node is configured.";10808                            presence "Indicates a disable node is configured.";
10779                            description10809                            description
10780                              "Disable TTL security";10810                              "Disable TTL security";
10781                          }10811                          }
10782                        }10812                        }
10783                      }10813                      }
10784                      container prefix-suppression {10814                      container prefix-suppression {
10785                        description10815                        description
10786                          "Suppress advertisement of the prefixes";10816                          "Suppress advertisement of the prefixes";
10787                        container enable {10817                        container enable {
10788                          must "not(../disable)";10818                          must "not(../disable)";
10789                          presence "Indicates a enable node is configured.";10819                          presence "Indicates a enable node is configured.";
10790                          description10820                          description
10791                            "Enable primary address suppression";10821                            "Enable primary address suppression";
10792                        }10822                        }
10793                        container disable {10823                        container disable {
10794                          must "not(../enable)";10824                          must "not(../enable)";
10795                          presence "Indicates a disable node is configured.";10825                          presence "Indicates a disable node is configured.";
10796                          description10826                          description
10797                            "Disable primary address suppression";10827                            "Disable primary address suppression";
10798                        }10828                        }
10799                        container secondary-address {10829                        container secondary-address {
10800                          description10830                          description
10801                            "Enable/Disable secondary address suppression";10831                            "Enable/Disable secondary address suppression";
10802                          container enable {10832                          container enable {
10803                            must "not(../disable)";10833                            must "not(../disable)";
10804                            presence "Indicates a enable node is configured.";10834                            presence "Indicates a enable node is configured.";
10805                            description10835                            description
10806                              "Enable secondary address suppression";10836                              "Enable secondary address suppression";
10807                          }10837                          }
10808                          container disable {10838                          container disable {
10809                            must "not(../enable)";10839                            must "not(../enable)";
10810                            presence "Indicates a disable node is configured.";10840                            presence "Indicates a disable node is configured.";
10811                            description10841                            description
10812                              "Disable secondary address suppression";10842                              "Disable secondary address suppression";
10813                          }10843                          }
10814                        }10844                        }
10815                      }10845                      }
10816                      container fast-reroute {10846                      container fast-reroute {
10817                        description10847                        description
10818                          "IP Fast Reroute";10848                          "IP Fast Reroute";
10819                        container per-link {10849                        container per-link {
10820                          description10850                          description
10821                            "Per-link Computation";10851                            "Per-link Computation";
10822                          container enable {10852                          container enable {
10823                            presence "Indicates a enable node is configured.";10853                            presence "Indicates a enable node is configured.";
10824                            description10854                            description
10825                              "Enable per-link Computation";10855                              "Enable per-link Computation";
10826                          }10856                          }
10827                          container exclude {10857                          container exclude {
10828                            description10858                            description
10829                              "Per-link LFA exclusion information";10859                              "Per-link LFA exclusion information";
10830                            container interfaces {10860                            container interfaces {
10831                              description10861                              description
10832                                "Exclude an interface from Per-link LFA";10862                                "Exclude an interface from Per-link LFA";
10833                              list interface {10863                              list interface {
10834                                key "interface-name";10864                                key "interface-name";
10835                                description10865                                description
10836                                  "Exclude an interface from Per-link LFA";10866                                  "Exclude an interface from Per-link LFA";
10837                                leaf interface-name {10867                                leaf interface-name {
10838                                  type xr:Interface-name;10868                                  type xr:Interface-name;
10839                                  description10869                                  description
10840                                    "Exclude an interface from Per-link LFA";10870                                    "Exclude an interface from Per-link LFA";
10841                                }10871                                }
10842                              }10872                              }
10843                            }10873                            }
10844                          }10874                          }
10845                          container lfa-candidate {10875                          container lfa-candidate {
10846                            description10876                            description
10847                              "FRR LFA candidate information";10877                              "FRR LFA candidate information";
10848                            container interfaces {10878                            container interfaces {
10849                              description10879                              description
10850                                "Include an interface to LFA candidate in computation";10880                                "Include an interface to LFA candidate in computation";
10851                              list interface {10881                              list interface {
10852                                key "interface-name";10882                                key "interface-name";
10853                                description10883                                description
10854                                  "Include an interface to LFA candidate in computation";10884                                  "Include an interface to LFA candidate in computation";
10855                                leaf interface-name {10885                                leaf interface-name {
10856                                  type xr:Interface-name;10886                                  type xr:Interface-name;
10857                                  description10887                                  description
10858                                    "Include an interface to LFA candidate in computation";10888                                    "Include an interface to LFA candidate in computation";
10859                                }10889                                }
10860                              }10890                              }
10861                            }10891                            }
10862                          }10892                          }
10863                          container use-candidate-only {10893                          container use-candidate-only {
10864                            description10894                            description
10865                              "Enable/Disable backup selection from candidate-list only";10895                              "Enable/Disable backup selection from candidate-list only";
10866                            container enable {10896                            container enable {
10867                              must "not(../disable)";10897                              must "not(../disable)";
10868                              presence "Indicates a enable node is configured.";10898                              presence "Indicates a enable node is configured.";
10869                              description10899                              description
10870                                "Enable backup selection from candidate-list only";10900                                "Enable backup selection from candidate-list only";
10871                            }10901                            }
10872                            container disable {10902                            container disable {
10873                              must "not(../enable)";10903                              must "not(../enable)";
10874                              presence "Indicates a disable node is configured.";10904                              presence "Indicates a disable node is configured.";
10875                              description10905                              description
10876                                "Disable backup selection from candidate-list only";10906                                "Disable backup selection from candidate-list only";
10877                            }10907                            }
10878                          }10908                          }
10879                        }10909                        }
10880                        container per-prefix {10910                        container per-prefix {
10881                          description10911                          description
10882                            "Per-prefix Computation";10912                            "Per-prefix Computation";
10883                          container enable {10913                          container enable {
10884                            presence "Indicates a enable node is configured.";10914                            presence "Indicates a enable node is configured.";
10885                            description10915                            description
10886                              "Enable per-prefix Computation";10916                              "Enable per-prefix Computation";
10887                          }10917                          }
10888                          container exclude {10918                          container exclude {
10889                            description10919                            description
10890                              "Per-prefix LFA exclusion information";10920                              "Per-prefix LFA exclusion information";
10891                            container interfaces {10921                            container interfaces {
10892                              description10922                              description
10893                                "Exclude an interface from Per-prefix LFA";10923                                "Exclude an interface from Per-prefix LFA";
10894                              list interface {10924                              list interface {
10895                                key "interface-name";10925                                key "interface-name";
10896                                description10926                                description
10897                                  "Exclude an interface from Per-prefix LFA";10927                                  "Exclude an interface from Per-prefix LFA";
10898                                leaf interface-name {10928                                leaf interface-name {
10899                                  type xr:Interface-name;10929                                  type xr:Interface-name;
10900                                  description10930                                  description
10901                                    "Exclude an interface from Per-prefix LFA";10931                                    "Exclude an interface from Per-prefix LFA";
10902                                }10932                                }
10903                              }10933                              }
10904                            }10934                            }
10905                          }10935                          }
10906                          container lfa-candidate {10936                          container lfa-candidate {
10907                            description10937                            description
10908                              "FRR LFA candidate information";10938                              "FRR LFA candidate information";
10909                            container interfaces {10939                            container interfaces {
10910                              description10940                              description
10911                                "Include an interface to LFA candidate in computation";10941                                "Include an interface to LFA candidate in computation";
10912                              list interface {10942                              list interface {
10913                                key "interface-name";10943                                key "interface-name";
10914                                description10944                                description
10915                                  "Include an interface to LFA candidate in computation";10945                                  "Include an interface to LFA candidate in computation";
10916                                leaf interface-name {10946                                leaf interface-name {
10917                                  type xr:Interface-name;10947                                  type xr:Interface-name;
10918                                  description10948                                  description
10919                                    "Include an interface to LFA candidate in computation";10949                                    "Include an interface to LFA candidate in computation";
10920                                }10950                                }
10921                              }10951                              }
10922                            }10952                            }
10923                          }10953                          }
10924                          container use-candidate-only {10954                          container use-candidate-only {
10925                            description10955                            description
10926                              "Enable/Disable backup selection from candidate-list only";10956                              "Enable/Disable backup selection from candidate-list only";
10927                            container enable {10957                            container enable {
10928                              must "not(../disable)";10958                              must "not(../disable)";
10929                              presence "Indicates a enable node is configured.";10959                              presence "Indicates a enable node is configured.";
10930                              description10960                              description
10931                                "Enable backup selection from candidate-list only";10961                                "Enable backup selection from candidate-list only";
10932                            }10962                            }
10933                            container disable {10963                            container disable {
10934                              must "not(../enable)";10964                              must "not(../enable)";
10935                              presence "Indicates a disable node is configured.";10965                              presence "Indicates a disable node is configured.";
10936                              description10966                              description
10937                                "Disable backup selection from candidate-list only";10967                                "Disable backup selection from candidate-list only";
10938                            }10968                            }
10939                          }10969                          }
10940                          container tiebreaker {10970                          container tiebreaker {
10941                            description10971                            description
10942                              "Configure tiebreaker for multiple backups";10972                              "Configure tiebreaker for multiple backups";
10943                            container downstream {10973                            container downstream {
10944                              description10974                              description
10945                                "Prefer backup path via downstream node";10975                                "Prefer backup path via downstream node";
10946                              leaf index {10976                              leaf index {
10947                                type uint32 {10977                                type uint32 {
10948                                  range "1..255" {10978                                  range "1..255" {
10949                                    description10979                                    description
10950                                      "Index";10980                                      "Index";
10951                                  }10981                                  }
10952                                }10982                                }
10953                                must "not(../disable)";10983                                must "not(../disable)";
10954                                description10984                                description
10955                                  "Set preference order among tiebreakers";10985                                  "Set preference order among tiebreakers";
10956                              }10986                              }
10957                              container disable {10987                              container disable {
10958                                must "not(../index)";10988                                must "not(../index)";
10959                                presence "Indicates a disable node is configured.";10989                                presence "Indicates a disable node is configured.";
10960                                description10990                                description
10961                                  "Disable tiebreaker";10991                                  "Disable tiebreaker";
10962                              }10992                              }
10963                            }10993                            }
10964                            container lc-disjoint {10994                            container lc-disjoint {
10965                              description10995                              description
10966                                "Prefer line card disjoint backup path";10996                                "Prefer line card disjoint backup path";
10967                              leaf index {10997                              leaf index {
10968                                type uint32 {10998                                type uint32 {
10969                                  range "1..255" {10999                                  range "1..255" {
10970                                    description11000                                    description
10971                                      "Index";11001                                      "Index";
10972                                  }11002                                  }
10973                                }11003                                }
10974                                must "not(../disable)";11004                                must "not(../disable)";
10975                                description11005                                description
10976                                  "Set preference order among tiebreakers";11006                                  "Set preference order among tiebreakers";
10977                              }11007                              }
10978                              container disable {11008                              container disable {
10979                                must "not(../index)";11009                                must "not(../index)";
10980                                presence "Indicates a disable node is configured.";11010                                presence "Indicates a disable node is configured.";
10981                                description11011                                description
10982                                  "Disable tiebreaker";11012                                  "Disable tiebreaker";
10983                              }11013                              }
10984                            }11014                            }
10985                            container lowest-backup-metric {11015                            container lowest-backup-metric {
10986                              description11016                              description
10987                                "Prefer backup path with lowest total metric";11017                                "Prefer backup path with lowest total metric";
10988                              leaf index {11018                              leaf index {
10989                                type uint32 {11019                                type uint32 {
10990                                  range "1..255" {11020                                  range "1..255" {
10991                                    description11021                                    description
10992                                      "Index";11022                                      "Index";
10993                                  }11023                                  }
10994                                }11024                                }
10995                                must "not(../disable)";11025                                must "not(../disable)";
10996                                description11026                                description
10997                                  "Set preference order among tiebreakers";11027                                  "Set preference order among tiebreakers";
10998                              }11028                              }
10999                              container disable {11029                              container disable {
11000                                must "not(../index)";11030                                must "not(../index)";
11001                                presence "Indicates a disable node is configured.";11031                                presence "Indicates a disable node is configured.";
11002                                description11032                                description
11003                                  "Disable tiebreaker";11033                                  "Disable tiebreaker";
11004                              }11034                              }
11005                            }11035                            }
11006                            container node-protecting {11036                            container node-protecting {
11007                              description11037                              description
11008                                "Prefer node protecting backup path";11038                                "Prefer node protecting backup path";
11009                              leaf index {11039                              leaf index {
11010                                type uint32 {11040                                type uint32 {
11011                                  range "1..255" {11041                                  range "1..255" {
11012                                    description11042                                    description
11013                                      "Index";11043                                      "Index";
11014                                  }11044                                  }
11015                                }11045                                }
11016                                must "not(../disable)";11046                                must "not(../disable)";
11017                                description11047                                description
11018                                  "Set preference order among tiebreakers";11048                                  "Set preference order among tiebreakers";
11019                              }11049                              }
11020                              container disable {11050                              container disable {
11021                                must "not(../index)";11051                                must "not(../index)";
11022                                presence "Indicates a disable node is configured.";11052                                presence "Indicates a disable node is configured.";
11023                                description11053                                description
11024                                  "Disable tiebreaker";11054                                  "Disable tiebreaker";
11025                              }11055                              }
11026                            }11056                            }
11027                            container primary-path {11057                            container primary-path {
11028                              description11058                              description
11029                                "Prefer backup path from ECMP set";11059                                "Prefer backup path from ECMP set";
11030                              leaf index {11060                              leaf index {
11031                                type uint32 {11061                                type uint32 {
11032                                  range "1..255" {11062                                  range "1..255" {
11033                                    description11063                                    description
11034                                      "Index";11064                                      "Index";
11035                                  }11065                                  }
11036                                }11066                                }
11037                                must "not(../disable)";11067                                must "not(../disable)";
11038                                description11068                                description
11039                                  "Set preference order among tiebreakers";11069                                  "Set preference order among tiebreakers";
11040                              }11070                              }
11041                              container disable {11071                              container disable {
11042                                must "not(../index)";11072                                must "not(../index)";
11043                                presence "Indicates a disable node is configured.";11073                                presence "Indicates a disable node is configured.";
11044                                description11074                                description
11045                                  "Disable tiebreaker";11075                                  "Disable tiebreaker";
11046                              }11076                              }
11047                            }11077                            }
11048                            container secondary-path {11078                            container secondary-path {
11049                              description11079                              description
11050                                "Prefer non-ECMP backup path";11080                                "Prefer non-ECMP backup path";
11051                              leaf index {11081                              leaf index {
11052                                type uint32 {11082                                type uint32 {
11053                                  range "1..255" {11083                                  range "1..255" {
11054                                    description11084                                    description
11055                                      "Index";11085                                      "Index";
11056                                  }11086                                  }
11057                                }11087                                }
11058                                must "not(../disable)";11088                                must "not(../disable)";
11059                                description11089                                description
11060                                  "Set preference order among tiebreakers";11090                                  "Set preference order among tiebreakers";
11061                              }11091                              }
11062                              container disable {11092                              container disable {
11063                                must "not(../index)";11093                                must "not(../index)";
11064                                presence "Indicates a disable node is configured.";11094                                presence "Indicates a disable node is configured.";
11065                                description11095                                description
11066                                  "Disable tiebreaker";11096                                  "Disable tiebreaker";
11067                              }11097                              }
11068                            }11098                            }
11069                            container interface-disjoint {11099                            container interface-disjoint {
11070                              description11100                              description
11071                                "Prefer Interface disjoint backup path";11101                                "Prefer Interface disjoint backup path";
11072                              leaf index {11102                              leaf index {
11073                                type uint32 {11103                                type uint32 {
11074                                  range "1..255" {11104                                  range "1..255" {
11075                                    description11105                                    description
11076                                      "Index";11106                                      "Index";
11077                                  }11107                                  }
11078                                }11108                                }
11079                                must "not(../disable)";11109                                must "not(../disable)";
11080                                description11110                                description
11081                                  "Set preference order among tiebreakers";11111                                  "Set preference order among tiebreakers";
11082                              }11112                              }
11083                              container disable {11113                              container disable {
11084                                must "not(../index)";11114                                must "not(../index)";
11085                                presence "Indicates a disable node is configured.";11115                                presence "Indicates a disable node is configured.";
11086                                description11116                                description
11087                                  "Disable tiebreaker";11117                                  "Disable tiebreaker";
11088                              }11118                              }
11089                            }11119                            }
11090                            container srlg-disjoint {11120                            container srlg-disjoint {
11091                              description11121                              description
11092                                "Prefer SRLG disjoint backup path";11122                                "Prefer SRLG disjoint backup path";
11093                              leaf index {11123                              leaf index {
11094                                type uint32 {11124                                type uint32 {
11095                                  range "1..255" {11125                                  range "1..255" {
11096                                    description11126                                    description
11097                                      "Index";11127                                      "Index";
11098                                  }11128                                  }
11099                                }11129                                }
11100                                must "not(../disable)";11130                                must "not(../disable)";
11101                                description11131                                description
11102                                  "Set preference order among tiebreakers";11132                                  "Set preference order among tiebreakers";
11103                              }11133                              }
11104                              container disable {11134                              container disable {
11105                                must "not(../index)";11135                                must "not(../index)";
11106                                presence "Indicates a disable node is configured.";11136                                presence "Indicates a disable node is configured.";
11107                                description11137                                description
11108                                  "Disable tiebreaker";11138                                  "Disable tiebreaker";
11109                              }11139                              }
11110                            }11140                            }
11111                          }11141                          }
11112                        }11142                        }
11113                        container disable {11143                        container disable {
11114                          presence "Indicates a disable node is configured.";11144                          presence "Indicates a disable node is configured.";
11115                          description11145                          description
11116                            "Disable IP Fast Reroute";11146                            "Disable IP Fast Reroute";
11117                        }11147                        }
11118                      }11148                      }
11119                      container loopback {11149                      container loopback {
11120                        description11150                        description
11121                          "OSPF loopback configuration";11151                          "OSPF loopback configuration";
11122                        container stub-network {11152                        container stub-network {
11123                          description11153                          description
11124                            "Advertise loopback as a stub network";11154                            "Advertise loopback as a stub network";
11125                          container enable {11155                          container enable {
11126                            must "not(../disable)";11156                            must "not(../disable)";
11127                            presence "Indicates a enable node is configured.";11157                            presence "Indicates a enable node is configured.";
11128                            description11158                            description
11129                              "Enable advertising loopback as a stub network";11159                              "Enable advertising loopback as a stub network";
11130                          }11160                          }
11131                          container disable {11161                          container disable {
11132                            must "not(../enable)";11162                            must "not(../enable)";
11133                            presence "Indicates a disable node is configured.";11163                            presence "Indicates a disable node is configured.";
11134                            description11164                            description
11135                              "Disable advertising loopback as a stub network";11165                              "Disable advertising loopback as a stub network";
11136                          }11166                          }
11137                        }11167                        }
11138                      }11168                      }
11139                      container link-down {11169                      container link-down {
11140                        description11170                        description
11141                          "Configure interface down parameters";11171                          "Configure interface down parameters";
11142                        container fast-detect {11172                        container fast-detect {
11143                          presence "Indicates a fast-detect node is configured.";11173                          presence "Indicates a fast-detect node is configured.";
11144                          description11174                          description
11145                            "Enable fast or early detection of link-down events";11175                            "Enable fast or early detection of link-down events";
11146                          container disable {11176                          container disable {
11147                            presence "Indicates a disable node is configured.";11177                            presence "Indicates a disable node is configured.";
11148                            description11178                            description
11149                              "Disable fast or early detection of link-down events";11179                              "Disable fast or early detection of link-down events";
11150                          }11180                          }
11151                        }11181                        }
11152                      }11182                      }
11153                      container prefix-sid {11183                      container prefix-sid {
11154                        when "../interface-name[starts-with(text(),'Loopback')]" {11184                        when "../interface-name[starts-with(text(),'Loopback')]" {
11155                          tailf:dependency "../interface-name";11185                          tailf:dependency "../interface-name";
11156                        }11186                        }
11157                        description11187                        description
11158                          "Prefix SID Configuration";11188                          "Prefix SID Configuration";
11159                        container index {11189                        container index {
11160                          presence "Indicates a index node is configured.";11190                          presence "Indicates a index node is configured.";
11161                          description11191                          description
11162                            "SID Index";11192                            "SID Index";
11163                          leaf sid-index {11193                          leaf sid-index {
11164                            type uint32 {11194                            type uint32 {
11165                              range "0..1048575" {11195                              range "0..1048575" {
11166                                description11196                                description
11167                                  "SID Index";11197                                  "SID Index";
11168                              }11198                              }
11169                            }11199                            }
11170                            mandatory true;11200                            mandatory true;
11171                            description11201                            description
11172                              "SID Index";11202                              "SID Index";
11173                          }11203                          }
11174                          container explicit-null {11204                          container explicit-null {
11175                            presence "Indicates a explicit-null node is configured.";11205                            presence "Indicates a explicit-null node is configured.";
11176                            description11206                            description
11177                              "Force penultimate hop to send explicit-null label";11207                              "Force penultimate hop to send explicit-null label";
11178                          }11208                          }
11179                          container n-flag-clear {11209                          container n-flag-clear {
11180                            presence "Indicates a n-flag-clear node is configured.";11210                            presence "Indicates a n-flag-clear node is configured.";
11181                            description11211                            description
11182                              "Not a node SID (e.g. for anycast SID use)";11212                              "Not a node SID (e.g. for anycast SID use)";
11183                          }11213                          }
11184                        }11214                        }
11185                        container absolute {11215                        container absolute {
11186                          presence "Indicates a absolute node is configured.";11216                          presence "Indicates a absolute node is configured.";
11187                          description11217                          description
11188                            "SID value";11218                            "SID value";
11189                          leaf sid-label {11219                          leaf sid-label {
11190                            type uint32 {11220                            type uint32 {
11191                              range "16000..1048575" {11221                              range "16000..1048575" {
11192                                description11222                                description
11193                                  "SID label";11223                                  "SID label";
11194                              }11224                              }
11195                            }11225                            }
11196                            mandatory true;11226                            mandatory true;
11197                            description11227                            description
11198                              "SID value";11228                              "SID value";
11199                          }11229                          }
11200                          container explicit-null {11230                          container explicit-null {
11201                            presence "Indicates a explicit-null node is configured.";11231                            presence "Indicates a explicit-null node is configured.";
11202                            description11232                            description
11203                              "Force penultimate hop to send explicit-null label";11233                              "Force penultimate hop to send explicit-null label";
11204                          }11234                          }
11205                          container n-flag-clear {11235                          container n-flag-clear {
11206                            presence "Indicates a n-flag-clear node is configured.";11236                            presence "Indicates a n-flag-clear node is configured.";
11207                            description11237                            description
11208                              "Not a node SID (e.g. for anycast SID use)";11238                              "Not a node SID (e.g. for anycast SID use)";
11209                          }11239                          }
11210                        }11240                        }
11211                        container strict-spf {11241                        container strict-spf {
11212                          description11242                          description
11213                            "Strict-SPF Prefix SID Configuration";11243                            "Strict-SPF Prefix SID Configuration";
11214                          container index {11244                          container index {
11215                            must "not(../absolute)";11245                            must "not(../absolute)";
11216                            presence "Indicates a index node is configured.";11246                            presence "Indicates a index node is configured.";
11217                            description11247                            description
11218                              "SID Index";11248                              "SID Index";
11219                            leaf sid-index {11249                            leaf sid-index {
11220                              type uint32 {11250                              type uint32 {
11221                                range "0..1048575" {11251                                range "0..1048575" {
11222                                  description11252                                  description
11223                                    "SID Index";11253                                    "SID Index";
11224                                }11254                                }
11225                              }11255                              }
11226                              mandatory true;11256                              mandatory true;
11227                              description11257                              description
11228                                "SID Index";11258                                "SID Index";
11229                            }11259                            }
11230                            container explicit-null {11260                            container explicit-null {
11231                              presence "Indicates a explicit-null node is configured.";11261                              presence "Indicates a explicit-null node is configured.";
11232                              description11262                              description
11233                                "Force penultimate hop to send explicit-null label";11263                                "Force penultimate hop to send explicit-null label";
11234                            }11264                            }
11235                            container n-flag-clear {11265                            container n-flag-clear {
11236                              presence "Indicates a n-flag-clear node is configured.";11266                              presence "Indicates a n-flag-clear node is configured.";
11237                              description11267                              description
11238                                "Not a node SID (e.g. for anycast SID use)";11268                                "Not a node SID (e.g. for anycast SID use)";
11239                            }11269                            }
11240                          }11270                          }
11241                          container absolute {11271                          container absolute {
11242                            must "not(../index)";11272                            must "not(../index)";
11243                            presence "Indicates a absolute node is configured.";11273                            presence "Indicates a absolute node is configured.";
11244                            description11274                            description
11245                              "SID value";11275                              "SID value";
11246                            leaf sid-label {11276                            leaf sid-label {
11247                              type uint32 {11277                              type uint32 {
11248                                range "16000..1048575" {11278                                range "16000..1048575" {
11249                                  description11279                                  description
11250                                    "SID label";11280                                    "SID label";
11251                                }11281                                }
11252                              }11282                              }
11253                              mandatory true;11283                              mandatory true;
11254                              description11284                              description
11255                                "SID value";11285                                "SID value";
11256                            }11286                            }
11257                            container explicit-null {11287                            container explicit-null {
11258                              presence "Indicates a explicit-null node is configured.";11288                              presence "Indicates a explicit-null node is configured.";
11259                              description11289                              description
11260                                "Force penultimate hop to send explicit-null label";11290                                "Force penultimate hop to send explicit-null label";
11261                            }11291                            }
11262                            container n-flag-clear {11292                            container n-flag-clear {
11263                              presence "Indicates a n-flag-clear node is configured.";11293                              presence "Indicates a n-flag-clear node is configured.";
11264                              description11294                              description
11265                                "Not a node SID (e.g. for anycast SID use)";11295                                "Not a node SID (e.g. for anycast SID use)";
11266                            }11296                            }
11267                          }11297                          }
11268                        }11298                        }
11269                        container algorithms {11299                        container algorithms {
11270                          description11300                          description
11271                            "Algorithm Specific Prefix SID Configuration";11301                            "Algorithm Specific Prefix SID Configuration";
11272                          list algorithm {11302                          list algorithm {
11273                            must "index or absolute";11303                            must "index or absolute";
11274                            key "algorithm-number";11304                            key "algorithm-number";
11275                            description11305                            description
11276                              "Algorithm Specific Prefix SID Configuration";11306                              "Algorithm Specific Prefix SID Configuration";
11277                            leaf algorithm-number {11307                            leaf algorithm-number {
11278                              type uint32 {11308                              type uint32 {
11279                                range "128..255" {11309                                range "128..255" {
11280                                  description11310                                  description
11281                                    "Algorithm number";11311                                    "Algorithm number";
11282                                }11312                                }
11283                              }11313                              }
11284                              description11314                              description
11285                                "Algorithm Specific Prefix SID Configuration";11315                                "Algorithm Specific Prefix SID Configuration";
11286                            }11316                            }
11287                            container index {11317                            container index {
11288                              presence "Indicates a index node is configured.";11318                              presence "Indicates a index node is configured.";
11289                              description11319                              description
11290                                "SID Index";11320                                "SID Index";
11291                              leaf sid-index {11321                              leaf sid-index {
11292                                type uint32 {11322                                type uint32 {
11293                                  range "0..1048575" {11323                                  range "0..1048575" {
11294                                    description11324                                    description
11295                                      "SID Index";11325                                      "SID Index";
11296                                  }11326                                  }
11297                                }11327                                }
11298                                mandatory true;11328                                mandatory true;
11299                                description11329                                description
11300                                  "SID Index";11330                                  "SID Index";
11301                              }11331                              }
11302                              container explicit-null {11332                              container explicit-null {
11303                                presence "Indicates a explicit-null node is configured.";11333                                presence "Indicates a explicit-null node is configured.";
11304                                description11334                                description
11305                                  "Force penultimate hop to send explicit-null label";11335                                  "Force penultimate hop to send explicit-null label";
11306                              }11336                              }
11307                              container n-flag-clear {11337                              container n-flag-clear {
11308                                presence "Indicates a n-flag-clear node is configured.";11338                                presence "Indicates a n-flag-clear node is configured.";
11309                                description11339                                description
11310                                  "Not a node SID (e.g. for anycast SID use)";11340                                  "Not a node SID (e.g. for anycast SID use)";
11311                              }11341                              }
11312                            }11342                            }
11313                            container absolute {11343                            container absolute {
11314                              presence "Indicates a absolute node is configured.";11344                              presence "Indicates a absolute node is configured.";
11315                              description11345                              description
11316                                "SID value";11346                                "SID value";
11317                              leaf sid-label {11347                              leaf sid-label {
11318                                type uint32 {11348                                type uint32 {
11319                                  range "16000..1048575" {11349                                  range "16000..1048575" {
11320                                    description11350                                    description
11321                                      "SID label";11351                                      "SID label";
11322                                  }11352                                  }
11323                                }11353                                }
11324                                mandatory true;11354                                mandatory true;
11325                                description11355                                description
11326                                  "SID value";11356                                  "SID value";
11327                              }11357                              }
11328                              container explicit-null {11358                              container explicit-null {
11329                                presence "Indicates a explicit-null node is configured.";11359                                presence "Indicates a explicit-null node is configured.";
11330                                description11360                                description
11331                                  "Force penultimate hop to send explicit-null label";11361                                  "Force penultimate hop to send explicit-null label";
11332                              }11362                              }
11333                              container n-flag-clear {11363                              container n-flag-clear {
11334                                presence "Indicates a n-flag-clear node is configured.";11364                                presence "Indicates a n-flag-clear node is configured.";
11335                                description11365                                description
11336                                  "Not a node SID (e.g. for anycast SID use)";11366                                  "Not a node SID (e.g. for anycast SID use)";
11337                              }11367                              }
11338                            }11368                            }
11339                          }11369                          }
11340                        }11370                        }
11341                      }11371                      }
11342                      container adjacency-sid {11372                      container adjacency-sid {
11343                        description11373                        description
11344                          "Adjacency SID Configuration";11374                          "Adjacency SID Configuration";
11345                        container indexes {11375                        container indexes {
11346                          description11376                          description
11347                            "SID Index";11377                            "SID Index";
11348                          list index {11378                          list index {
11349                            key "sid-index";11379                            key "sid-index";
11350                            description11380                            description
11351                              "SID Index";11381                              "SID Index";
11352                            leaf sid-index {11382                            leaf sid-index {
11353                              type uint32 {11383                              type uint32 {
11354                                range "0..1048575" {11384                                range "0..1048575" {
11355                                  description11385                                  description
11356                                    "SID Index";11386                                    "SID Index";
11357                                }11387                                }
11358                              }11388                              }
11359                              description11389                              description
11360                                "SID Index";11390                                "SID Index";
11361                            }11391                            }
11362                            container protected {11392                            container protected {
11363                              presence "Indicates a protected node is configured.";11393                              presence "Indicates a protected node is configured.";
11364                              description11394                              description
11365                                "Protect the static adjacency SID";11395                                "Protect the static adjacency SID";
11366                            }11396                            }
11367                            leaf neighbor-address {11397                            leaf neighbor-address {
11368                              type inet:ipv4-address-no-zone;11398                              type inet:ipv4-address-no-zone;
11369                              description11399                              description
11370                                "Provide Neighbor IP address associated with this SID";11400                                "Provide Neighbor IP address associated with this SID";
11371                            }11401                            }
11372                          }11402                          }
11373                        }11403                        }
11374                        container absolutes {11404                        container absolutes {
11375                          description11405                          description
11376                            "SID value";11406                            "SID value";
11377                          list absolute {11407                          list absolute {
11378                            key "sid-label";11408                            key "sid-label";
11379                            description11409                            description
11380                              "SID value";11410                              "SID value";
11381                            leaf sid-label {11411                            leaf sid-label {
11382                              type uint32 {11412                              type uint32 {
11383                                range "15000..1048575" {11413                                range "15000..1048575" {
11384                                  description11414                                  description
11385                                    "SID label";11415                                    "SID label";
11386                                }11416                                }
11387                              }11417                              }
11388                              description11418                              description
11389                                "SID value";11419                                "SID value";
11390                            }11420                            }
11391                            container protected {11421                            container protected {
11392                              presence "Indicates a protected node is configured.";11422                              presence "Indicates a protected node is configured.";
11393                              description11423                              description
11394                                "Protect the static adjacency SID";11424                                "Protect the static adjacency SID";
11395                            }11425                            }
11396                            leaf neighbor-address {11426                            leaf neighbor-address {
11397                              type inet:ipv4-address-no-zone;11427                              type inet:ipv4-address-no-zone;
11398                              description11428                              description
11399                                "Provide Neighbor IP address associated with this SID";11429                                "Provide Neighbor IP address associated with this SID";
11400                            }11430                            }
11401                          }11431                          }
11402                        }11432                        }
11403                      }11433                      }
11404                      leaf weight {11434                      leaf weight {
11405                        type uint32 {11435                        type uint32 {
11406                          range "1..16777214" {11436                          range "1..16777214" {
11407                            description11437                            description
11408                              "Weight value";11438                              "Weight value";
11409                          }11439                          }
11410                        }11440                        }
11411                        description11441                        description
11412                          "Interface weight";11442                          "Interface weight";
11413                      }11443                      }
11414                      container advertise {11444                      container advertise {
11415                        when "../interface-name[starts-with(text(),'Loopback')]" {11445                        when "../interface-name[starts-with(text(),'Loopback')]" {
11416                          tailf:dependency "../interface-name";11446                          tailf:dependency "../interface-name";
11417                        }11447                        }
11418                        description11448                        description
11419                          "Conditionally advertise";11449                          "Conditionally advertise";
11420                        container prefix {11450                        container prefix {
11421                          description11451                          description
11422                            "Conditionally advertise this prefix";11452                            "Conditionally advertise this prefix";
11423                          leaf route-policy {11453                          leaf route-policy {
11424                            type xr:Route-policy-name;11454                            type xr:Route-policy-name;
11425                            description11455                            description
11426                              "Specify the route-policy for conditional advertising";11456                              "Specify the route-policy for conditional advertising";
11427                          }11457                          }
11428                        }11458                        }
11429                      }11459                      }
11430                      container delay {11460                      container delay {
11431                        description11461                        description
11432                          "Delay configuration setting";11462                          "Delay configuration setting";
11433                        container normalize {11463                        container normalize {
11434                          description11464                          description
11435                            "Delay normalization setting";11465                            "Delay normalization setting";
11436                          leaf interval {11466                          leaf interval {
11437                            type uint32 {11467                            type uint32 {
11438                              range "1..16777215" {11468                              range "1..16777215" {
11439                                description11469                                description
11440                                  "Value in microseconds";11470                                  "Value in microseconds";
11441                              }11471                              }
11442                            }11472                            }
11443                            must "../offset";11473                            must "../offset";
11444                            description11474                            description
11445                              "Normalization interval";11475                              "Normalization interval";
11446                          }11476                          }
11447                          leaf offset {11477                          leaf offset {
11448                            type uint32 {11478                            type uint32 {
11449                              range "0..16777215" {11479                              range "0..16777215" {
11450                                description11480                                description
11451                                  "Value in microseconds";11481                                  "Value in microseconds";
11452                              }11482                              }
11453                            }11483                            }
11454                            must "../interval";11484                            must "../interval";
11455                            description11485                            description
11456                              "Normalization offset";11486                              "Normalization offset";
11457                          }11487                          }
11458                        }11488                        }
11459                      }11489                      }
11460                    }11490                    }
11461                  }11491                  }
11462                  container authentication-key {11492                  container authentication-key {
11463                    description11493                    description
11464                      "Authentication password (key)";11494                      "Authentication password (key)";
11465                    leaf encrypted {11495                    leaf encrypted {
11466                      type xr:Proprietary-password;11496                      type xr:Proprietary-password;
11467                      description11497                      description
11468                        "Specifies an ENCRYPTED password (key) will follow";11498                        "Specifies an ENCRYPTED password (key) will follow";
11469                    }11499                    }
11470                  }11500                  }
11471                  container message-digest-keys {11501                  container message-digest-keys {
11472                    description11502                    description
11473                      "Message digest authentication password (key)";11503                      "Message digest authentication password (key)";
11474                    list message-digest-key {11504                    list message-digest-key {
11475                      key "message-digest-key-id";11505                      key "message-digest-key-id";
11476                      description11506                      description
11477                        "Message digest authentication password (key)";11507                        "Message digest authentication password (key)";
11478                      leaf message-digest-key-id {11508                      leaf message-digest-key-id {
11479                        type uint32 {11509                        type uint32 {
11480                          range "1..255" {11510                          range "1..255" {
11481                            description11511                            description
11482                              "Key ID";11512                              "Key ID";
11483                          }11513                          }
11484                        }11514                        }
11485                        description11515                        description
11486                          "Message digest authentication password (key)";11516                          "Message digest authentication password (key)";
11487                      }11517                      }
11488                      container md5 {11518                      container md5 {
11489                        description11519                        description
11490                          "Use MD5 algorithm";11520                          "Use MD5 algorithm";
11491                        leaf encrypted {11521                        leaf encrypted {
11492                          type xr:Proprietary-password;11522                          type xr:Proprietary-password;
11493                          mandatory true;11523                          mandatory true;
11494                          description11524                          description
11495                            "Specifies an ENCRYPTED password (key) will follow";11525                            "Specifies an ENCRYPTED password (key) will follow";
11496                        }11526                        }
11497                      }11527                      }
11498                    }11528                    }
11499                  }11529                  }
11500                  container authentication {11530                  container authentication {
11501                    presence "Indicates a authentication node is configured.";11531                    presence "Indicates a authentication node is configured.";
11502                    description11532                    description
11503                      "Enable authentication";11533                      "Enable authentication";
11504                    container message-digest {11534                    container message-digest {
11505                      must "not(../null or ../keychain)";11535                      must "not(../null or ../keychain)";
11506                      presence "Indicates a message-digest node is configured.";11536                      presence "Indicates a message-digest node is configured.";
11507                      description11537                      description
11508                        "Use message-digest authentication";11538                        "Use message-digest authentication";
11509                    }11539                    }
11510                    container keychain {11540                    container keychain {
11511                      must "../keychain-name";11541                      must "../keychain-name";
11512                      presence "Indicates a keychain node is configured.";11542                      presence "Indicates a keychain node is configured.";
11513                      description11543                      description
11514                        "Use keychain";11544                        "Use keychain";
11515                    }11545                    }
11516                    leaf keychain-name {11546                    leaf keychain-name {
11517                      type string {11547                      type string {
11518                        length "1..32" {11548                        length "1..32" {
11519                          description11549                          description
11520                            "The keychain name";11550                            "The keychain name";
11521                        }11551                        }
11522                      }11552                      }
11523                      must "(../message-digest or ../keychain) and not(../null)";11553                      must "(../message-digest or ../keychain) and not(../null)";
11524                      description11554                      description
11525                        "Specify keychain name";11555                        "Specify keychain name";
11526                    }11556                    }
11527                    container null {11557                    container null {
11528                      must "not(../message-digest or ../keychain)";11558                      must "not(../message-digest or ../keychain)";
11529                      presence "Indicates a null node is configured.";11559                      presence "Indicates a null node is configured.";
11530                      description11560                      description
11531                        "Use no authentication";11561                        "Use no authentication";
11532                    }11562                    }
11533                  }11563                  }
11534                  container network {11564                  container network {
11535                    description11565                    description
11536                      "Network type";11566                      "Network type";
11537                    container broadcast {11567                    container broadcast {
11538                      presence "Indicates a broadcast node is configured.";11568                      presence "Indicates a broadcast node is configured.";
11539                      description11569                      description
11540                        "Specify OSPF broadcast multi-access network";11570                        "Specify OSPF broadcast multi-access network";
11541                    }11571                    }
11542                    container non-broadcast {11572                    container non-broadcast {
11543                      presence "Indicates a non-broadcast node is configured.";11573                      presence "Indicates a non-broadcast node is configured.";
11544                      description11574                      description
11545                        "Specify OSPF NBMA network";11575                        "Specify OSPF NBMA network";
11546                    }11576                    }
11547                    container point-to-point {11577                    container point-to-point {
11548                      presence "Indicates a point-to-point node is configured.";11578                      presence "Indicates a point-to-point node is configured.";
11549                      description11579                      description
11550                        "Specify OSPF point-to-point network";11580                        "Specify OSPF point-to-point network";
11551                    }11581                    }
11552                    container point-to-multipoint {11582                    container point-to-multipoint {
11553                      presence "Indicates a point-to-multipoint node is configured.";11583                      presence "Indicates a point-to-multipoint node is configured.";
11554                      description11584                      description
11555                        "Specify OSPF point-to-multipoint network";11585                        "Specify OSPF point-to-multipoint network";
11556                    }11586                    }
11557                  }11587                  }
11558                  container mpls {11588                  container mpls {
11559                    description11589                    description
11560                      "Configure MPLS routing protocol parameters";11590                      "Configure MPLS routing protocol parameters";
11561                    container ldp {11591                    container ldp {
11562                      description11592                      description
11563                        "Configure LDP parameters";11593                        "Configure LDP parameters";
11564                      container sync {11594                      container sync {
11565                        presence "Indicates a sync node is configured.";11595                        presence "Indicates a sync node is configured.";
11566                        description11596                        description
11567                          "Enable LDP IGP synchronization";11597                          "Enable LDP IGP synchronization";
11568                        container disable {11598                        container disable {
11569                          presence "Indicates a disable node is configured.";11599                          presence "Indicates a disable node is configured.";
11570                          description11600                          description
11571                            "Disable MPLS LDP sync";11601                            "Disable MPLS LDP sync";
11572                        }11602                        }
11573                      }11603                      }
11574                    }11604                    }
11575                  }11605                  }
11576                  leaf cost {11606                  leaf cost {
11577                    type uint32 {11607                    type uint32 {
11578                      range "1..65535" {11608                      range "1..65535" {
11579                        description11609                        description
11580                          "Cost";11610                          "Cost";
11581                      }11611                      }
11582                    }11612                    }
11583                    description11613                    description
11584                      "Interface cost";11614                      "Interface cost";
11585                  }11615                  }
11586                  container cost-fallback {11616                  container cost-fallback {
11587                    description11617                    description
11588                      "Cost fallback when anomaly is detected";11618                      "Cost fallback when anomaly is detected";
11589                    container anomaly {11619                    container anomaly {
11590                      description11620                      description
11591                        "Penalty when a delay or loss is notified";11621                        "Penalty when a delay or loss is notified";
11592                      container delay {11622                      container delay {
11593                        description11623                        description
11594                          "Penalty when a delay is notified";11624                          "Penalty when a delay is notified";
11595                        container igp-metric {11625                        container igp-metric {
11596                          description11626                          description
11597                            "Penalty on IGP metric";11627                            "Penalty on IGP metric";
11598                          leaf increment {11628                          leaf increment {
11599                            type uint32 {11629                            type uint32 {
11600                              range "1..65534" {11630                              range "1..65534" {
11601                                description11631                                description
11602                                  "Increment by this value";11632                                  "Increment by this value";
11603                              }11633                              }
11604                            }11634                            }
11605                            must11635                            must
11606                              "not(../multiplier or ../value11636                              "not(../multiplier or ../value
11607                               or ../disable)";11637                               or ../disable)";
11608                            description11638                            description
11609                              "Increment the IGP cost by the specified value";11639                              "Increment the IGP cost by the specified value";
11610                          }11640                          }
11611                          leaf multiplier {11641                          leaf multiplier {
11612                            type uint32 {11642                            type uint32 {
11613                              range "1..255" {11643                              range "1..255" {
11614                                description11644                                description
11615                                  "Multiply by this value";11645                                  "Multiply by this value";
11616                              }11646                              }
11617                            }11647                            }
11618                            must11648                            must
11619                              "not(../increment or ../value11649                              "not(../increment or ../value
11620                               or ../disable)";11650                               or ../disable)";
11621                            description11651                            description
11622                              "Multiply the IGP cost by the specified value";11652                              "Multiply the IGP cost by the specified value";
11623                          }11653                          }
11624                          leaf value {11654                          leaf value {
11625                            type uint32 {11655                            type uint32 {
11626                              range "1..65535" {11656                              range "1..65535" {
11627                                description11657                                description
11628                                  "Set to this value";11658                                  "Set to this value";
11629                              }11659                              }
11630                            }11660                            }
11631                            must11661                            must
11632                              "not(../increment or ../multiplier11662                              "not(../increment or ../multiplier
11633                               or ../disable)";11663                               or ../disable)";
11634                            description11664                            description
11635                              "Set the IGP cost to the specified value";11665                              "Set the IGP cost to the specified value";
11636                          }11666                          }
11637                          container disable {11667                          container disable {
11638                            must11668                            must
11639                              "not(../increment or ../multiplier11669                              "not(../increment or ../multiplier
11640                               or ../value)";11670                               or ../value)";
11641                            presence "Indicates a disable node is configured.";11671                            presence "Indicates a disable node is configured.";
11642                            description11672                            description
11643                              "Disable igp-metric";11673                              "Disable igp-metric";
11644                          }11674                          }
11645                        }11675                        }
11646                        container te-metric {11676                        container te-metric {
11647                          description11677                          description
11648                            "Penalty on TE metric";11678                            "Penalty on TE metric";
11649                          leaf increment {11679                          leaf increment {
11650                            type uint32 {11680                            type uint32 {
11651                              range "1..4294967294" {11681                              range "1..4294967294" {
11652                                description11682                                description
11653                                  "Increment by this value";11683                                  "Increment by this value";
11654                              }11684                              }
11655                            }11685                            }
11656                            must11686                            must
11657                              "not(../multiplier or ../value11687                              "not(../multiplier or ../value
11658                               or ../disable)";11688                               or ../disable)";
11659                            description11689                            description
11660                              "Increment the TE metric by the specified value";11690                              "Increment the TE metric by the specified value";
11661                          }11691                          }
11662                          leaf multiplier {11692                          leaf multiplier {
11663                            type uint32 {11693                            type uint32 {
11664                              range "1..255" {11694                              range "1..255" {
11665                                description11695                                description
11666                                  "Multiply by this value";11696                                  "Multiply by this value";
11667                              }11697                              }
11668                            }11698                            }
11669                            must11699                            must
11670                              "not(../increment or ../value11700                              "not(../increment or ../value
11671                               or ../disable)";11701                               or ../disable)";
11672                            description11702                            description
11673                              "Multiply the TE metric by the specified value";11703                              "Multiply the TE metric by the specified value";
11674                          }11704                          }
11675                          leaf value {11705                          leaf value {
11676                            type uint32 {11706                            type uint32 {
11677                              range "1..4294967295" {11707                              range "1..4294967295" {
11678                                description11708                                description
11679                                  "Set to this value";11709                                  "Set to this value";
11680                              }11710                              }
11681                            }11711                            }
11682                            must11712                            must
11683                              "not(../increment or ../multiplier11713                              "not(../increment or ../multiplier
11684                               or ../disable)";11714                               or ../disable)";
11685                            description11715                            description
11686                              "Set the TE cost to the specified value";11716                              "Set the TE cost to the specified value";
11687                          }11717                          }
11688                          container disable {11718                          container disable {
11689                            must11719                            must
11690                              "not(../increment or ../multiplier11720                              "not(../increment or ../multiplier
11691                               or ../value)";11721                               or ../value)";
11692                            presence "Indicates a disable node is configured.";11722                            presence "Indicates a disable node is configured.";
11693                            description11723                            description
11694                              "Disable te-metric";11724                              "Disable te-metric";
11695                          }11725                          }
11696                        }11726                        }
11697                      }11727                      }
11698                    }11728                    }
11699                  }11729                  }
11700                  leaf hello-interval {11730                  leaf hello-interval {
11701                    type uint32 {11731                    type uint32 {
11702                      range "1..65535" {11732                      range "1..65535" {
11703                        description11733                        description
11704                          "Seconds";11734                          "Seconds";
11705                      }11735                      }
11706                    }11736                    }
11707                    description11737                    description
11708                      "Time between HELLO packets";11738                      "Time between HELLO packets";
11709                  }11739                  }
11710                  leaf dead-interval {11740                  leaf dead-interval {
11711                    type uint32 {11741                    type uint32 {
11712                      range "1..65535" {11742                      range "1..65535" {
11713                        description11743                        description
11714                          "Seconds";11744                          "Seconds";
11715                      }11745                      }
11716                    }11746                    }
11717                    must "not(../dead-interval-minimal-hello-multiplier)";11747                    must "not(../dead-interval-minimal-hello-multiplier)";
11718                    description11748                    description
11719                      "Seconds";11749                      "Seconds";
11720                  }11750                  }
11721                  leaf dead-interval-minimal-hello-multiplier {11751                  leaf dead-interval-minimal-hello-multiplier {
11722                    type uint32 {11752                    type uint32 {
11723                      range "3..20" {11753                      range "3..20" {
11724                        description11754                        description
11725                          "Multiplier";11755                          "Multiplier";
11726                      }11756                      }
11727                    }11757                    }
11728                    must "not(../dead-interval)";11758                    must "not(../dead-interval)";
11729                    description11759                    description
11730                      "Set multiplier for Hellos";11760                      "Set multiplier for Hellos";
11731                  }11761                  }
11732                  leaf priority {11762                  leaf priority {
11733                    type uint32 {11763                    type uint32 {
11734                      range "0..255" {11764                      range "0..255" {
11735                        description11765                        description
11736                          "Priority";11766                          "Priority";
11737                      }11767                      }
11738                    }11768                    }
11739                    description11769                    description
11740                      "Router priority";11770                      "Router priority";
11741                  }11771                  }
11742                  leaf retransmit-interval {11772                  leaf retransmit-interval {
11743                    type uint32 {11773                    type uint32 {
11744                      range "1..65535" {11774                      range "1..65535" {
11745                        description11775                        description
11746                          "Seconds";11776                          "Seconds";
11747                      }11777                      }
11748                    }11778                    }
11749                    description11779                    description
11750                      "Time between retransmitting lost link state advertisements";11780                      "Time between retransmitting lost link state advertisements";
11751                  }11781                  }
11752                  leaf transmit-delay {11782                  leaf transmit-delay {
11753                    type uint32 {11783                    type uint32 {
11754                      range "1..65535" {11784                      range "1..65535" {
11755                        description11785                        description
11756                          "Seconds";11786                          "Seconds";
11757                      }11787                      }
11758                    }11788                    }
11759                    description11789                    description
11760                      "Estimated time needed to send link-state update packet";11790                      "Estimated time needed to send link-state update packet";
11761                  }11791                  }
11762                  container flood-reduction {11792                  container flood-reduction {
11763                    description11793                    description
11764                      "OSPF Flood Reduction";11794                      "OSPF Flood Reduction";
11765                    container enable {11795                    container enable {
11766                      must "not(../disable)";11796                      must "not(../disable)";
11767                      presence "Indicates a enable node is configured.";11797                      presence "Indicates a enable node is configured.";
11768                      description11798                      description
11769                        "Enable flooding reduction";11799                        "Enable flooding reduction";
11770                    }11800                    }
11771                    container disable {11801                    container disable {
11772                      must "not(../enable)";11802                      must "not(../enable)";
11773                      presence "Indicates a disable node is configured.";11803                      presence "Indicates a disable node is configured.";
11774                      description11804                      description
11775                        "Disable flooding reduction";11805                        "Disable flooding reduction";
11776                    }11806                    }
11777                  }11807                  }
11778                  container demand-circuit {11808                  container demand-circuit {
11779                    description11809                    description
11780                      "Enable/Disable demand circuits";11810                      "Enable/Disable demand circuits";
11781                    container enable {11811                    container enable {
11782                      must "not(../disable)";11812                      must "not(../disable)";
11783                      presence "Indicates a enable node is configured.";11813                      presence "Indicates a enable node is configured.";
11784                      description11814                      description
11785                        "Enable demand circuits";11815                        "Enable demand circuits";
11786                    }11816                    }
11787                    container disable {11817                    container disable {
11788                      must "not(../enable)";11818                      must "not(../enable)";
11789                      presence "Indicates a disable node is configured.";11819                      presence "Indicates a disable node is configured.";
11790                      description11820                      description
11791                        "Disable demand circuits";11821                        "Disable demand circuits";
11792                    }11822                    }
11793                  }11823                  }
11794                  container mtu-ignore {11824                  container mtu-ignore {
11795                    description11825                    description
11796                      "Enable/Disable ignoring of MTU in DBD packets";11826                      "Enable/Disable ignoring of MTU in DBD packets";
11797                    container enable {11827                    container enable {
11798                      must "not(../disable)";11828                      must "not(../disable)";
11799                      presence "Indicates a enable node is configured.";11829                      presence "Indicates a enable node is configured.";
11800                      description11830                      description
11801                        "Ignores the MTU in DBD packets";11831                        "Ignores the MTU in DBD packets";
11802                    }11832                    }
11803                    container disable {11833                    container disable {
11804                      must "not(../enable)";11834                      must "not(../enable)";
11805                      presence "Indicates a disable node is configured.";11835                      presence "Indicates a disable node is configured.";
11806                      description11836                      description
11807                        "Disable ignoring of MTU in DBD packets";11837                        "Disable ignoring of MTU in DBD packets";
11808                    }11838                    }
11809                  }11839                  }
11810                  container database-filter {11840                  container database-filter {
11811                    description11841                    description
11812                      "Filter OSPF LSA during synchronization and flooding";11842                      "Filter OSPF LSA during synchronization and flooding";
11813                    container all {11843                    container all {
11814                      description11844                      description
11815                        "Filter all LSA";11845                        "Filter all LSA";
11816                      container out {11846                      container out {
11817                        description11847                        description
11818                          "Outgoing LSA";11848                          "Outgoing LSA";
11819                        container enable {11849                        container enable {
11820                          must "not(../disable)";11850                          must "not(../disable)";
11821                          presence "Indicates a enable node is configured.";11851                          presence "Indicates a enable node is configured.";
11822                          description11852                          description
11823                            "Enable filtering";11853                            "Enable filtering";
11824                        }11854                        }
11825                        container disable {11855                        container disable {
11826                          must "not(../enable)";11856                          must "not(../enable)";
11827                          presence "Indicates a disable node is configured.";11857                          presence "Indicates a disable node is configured.";
11828                          description11858                          description
11829                            "Disable filtering";11859                            "Disable filtering";
11830                        }11860                        }
11831                      }11861                      }
11832                    }11862                    }
11833                  }11863                  }
11834                  container passive {11864                  container passive {
11835                    description11865                    description
11836                      "Enable/Disable passive";11866                      "Enable/Disable passive";
11837                    container enable {11867                    container enable {
11838                      must "not(../disable)";11868                      must "not(../disable)";
11839                      presence "Indicates a enable node is configured.";11869                      presence "Indicates a enable node is configured.";
11840                      description11870                      description
11841                        "Enable passive";11871                        "Enable passive";
11842                    }11872                    }
11843                    container disable {11873                    container disable {
11844                      must "not(../enable)";11874                      must "not(../enable)";
11845                      presence "Indicates a disable node is configured.";11875                      presence "Indicates a disable node is configured.";
11846                      description11876                      description
11847                        "Disable passive";11877                        "Disable passive";
11848                    }11878                    }
11849                  }11879                  }
11850                  container distribute-list {11880                  container distribute-list {
11851                    description11881                    description
11852                      "Filter networks in routing updates";11882                      "Filter networks in routing updates";
11853                    leaf access-list {11883                    leaf access-list {
11854                      type string;11884                      type string;
11855                      must "not(../route-policy)";11885                      must "not(../route-policy)";
11856                      description11886                      description
11857                        "In-bound access-list name.";11887                        "In-bound access-list name.";
11858                    }11888                    }
11859                    leaf route-policy {11889                    leaf route-policy {
11860                      type xr:Route-policy-name;11890                      type xr:Route-policy-name;
11861                      must "not(../access-list)";11891                      must "not(../access-list)";
11862                      description11892                      description
11863                        "Route Policy to filter OSPF prefixes";11893                        "Route Policy to filter OSPF prefixes";
11864                    }11894                    }
11865                  }11895                  }
11866                  leaf packet-size {11896                  leaf packet-size {
11867                    type uint32 {11897                    type uint32 {
11868                      range "576..10000" {11898                      range "576..10000" {
11869                        description11899                        description
11870                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";11900                          "Size of OSPF packets to use. Min: 576  Max: MTU bytes";
11871                      }11901                      }
11872                    }11902                    }
11873                    description11903                    description
11874                      "Customize size of OSPF packets upto MTU";11904                      "Customize size of OSPF packets upto MTU";
11875                  }11905                  }
11876                  container bfd {11906                  container bfd {
11877                    description11907                    description
11878                      "Configure BFD parameters";11908                      "Configure BFD parameters";
11879                    container fast-detect {11909                    container fast-detect {
11880                      must "not(strict-mode and disable)";11910                      must "not(strict-mode and disable)";
11881                      presence "Indicates a fast-detect node is configured.";11911                      presence "Indicates a fast-detect node is configured.";
11882                      description11912                      description
11883                        "Enable Fast detection";11913                        "Enable Fast detection";
11884                      container strict-mode {11914                      container strict-mode {
11885                        presence "Indicates a strict-mode node is configured.";11915                        presence "Indicates a strict-mode node is configured.";
11886                        description11916                        description
11887                          "Hold down neighbor session until BFD session is up";11917                          "Hold down neighbor session until BFD session is up";
11888                      }11918                      }
11889                      container disable {11919                      container disable {
11890                        presence "Indicates a disable node is configured.";11920                        presence "Indicates a disable node is configured.";
11891                        description11921                        description
11892                          "Prevent bfd settings from being inherited from the parent";11922                          "Prevent bfd settings from being inherited from the parent";
11893                      }11923                      }
11894                    }11924                    }
11895                    leaf minimum-interval {11925                    leaf minimum-interval {
11896                      type uint32 {11926                      type uint32 {
11897                        range "3..30000" {11927                        range "3..30000" {
11898                          description11928                          description
11899                            "minimum interval in milli-seconds";11929                            "minimum interval in milli-seconds";
11900                        }11930                        }
11901                      }11931                      }
11902                      description11932                      description
11903                        "Minimum interval";11933                        "Minimum interval";
11904                    }11934                    }
11905                    leaf multiplier {11935                    leaf multiplier {
11906                      type uint32 {11936                      type uint32 {
11907                        range "2..50" {11937                        range "2..50" {
11908                          description11938                          description
11909                            "Detect multiplier";11939                            "Detect multiplier";
11910                        }11940                        }
11911                      }11941                      }
11912                      description11942                      description
11913                        "Detect multiplier";11943                        "Detect multiplier";
11914                    }11944                    }
11915                  }11945                  }
11916                  container security {11946                  container security {
11917                    description11947                    description
11918                      "Enable/Disable security";11948                      "Enable/Disable security";
11919                    container ttl {11949                    container ttl {
11920                      must "not(hops and disable)";11950                      must "not(hops and disable)";
11921                      presence "Indicates a ttl node is configured.";11951                      presence "Indicates a ttl node is configured.";
11922                      description11952                      description
11923                        "TTL security";11953                        "TTL security";
11924                      leaf hops {11954                      leaf hops {
11925                        type uint32 {11955                        type uint32 {
11926                          range "1..254" {11956                          range "1..254" {
11927                            description11957                            description
11928                              "maximum number of hops allowed";11958                              "maximum number of hops allowed";
11929                          }11959                          }
11930                        }11960                        }
11931                        description11961                        description
11932                          "IP hops";11962                          "IP hops";
11933                      }11963                      }
11934                      container disable {11964                      container disable {
11935                        presence "Indicates a disable node is configured.";11965                        presence "Indicates a disable node is configured.";
11936                        description11966                        description
11937                          "Disable TTL security";11967                          "Disable TTL security";
11938                      }11968                      }
11939                    }11969                    }
11940                  }11970                  }
11941                  container prefix-suppression {11971                  container prefix-suppression {
11942                    description11972                    description
11943                      "Suppress advertisement of the prefixes";11973                      "Suppress advertisement of the prefixes";
11944                    container enable {11974                    container enable {
11945                      must "not(../disable)";11975                      must "not(../disable)";
11946                      presence "Indicates a enable node is configured.";11976                      presence "Indicates a enable node is configured.";
11947                      description11977                      description
11948                        "Enable primary address suppression";11978                        "Enable primary address suppression";
11949                    }11979                    }
11950                    container disable {11980                    container disable {
11951                      must "not(../enable)";11981                      must "not(../enable)";
11952                      presence "Indicates a disable node is configured.";11982                      presence "Indicates a disable node is configured.";
11953                      description11983                      description
11954                        "Disable primary address suppression";11984                        "Disable primary address suppression";
11955                    }11985                    }
11956                    container secondary-address {11986                    container secondary-address {
11957                      description11987                      description
11958                        "Enable/Disable secondary address suppression";11988                        "Enable/Disable secondary address suppression";
11959                      container enable {11989                      container enable {
11960                        must "not(../disable)";11990                        must "not(../disable)";
11961                        presence "Indicates a enable node is configured.";11991                        presence "Indicates a enable node is configured.";
11962                        description11992                        description
11963                          "Enable secondary address suppression";11993                          "Enable secondary address suppression";
11964                      }11994                      }
11965                      container disable {11995                      container disable {
11966                        must "not(../enable)";11996                        must "not(../enable)";
11967                        presence "Indicates a disable node is configured.";11997                        presence "Indicates a disable node is configured.";
11968                        description11998                        description
11969                          "Disable secondary address suppression";11999                          "Disable secondary address suppression";
11970                      }12000                      }
11971                    }12001                    }
11972                  }12002                  }
11973                  container fast-reroute {12003                  container fast-reroute {
11974                    description12004                    description
11975                      "IP Fast Reroute";12005                      "IP Fast Reroute";
11976                    container per-link {12006                    container per-link {
11977                      description12007                      description
11978                        "Per-link Computation";12008                        "Per-link Computation";
11979                      container enable {12009                      container enable {
11980                        presence "Indicates a enable node is configured.";12010                        presence "Indicates a enable node is configured.";
11981                        description12011                        description
11982                          "Per-link Computation";12012                          "Per-link Computation";
11983                      }12013                      }
11984                      container exclude {12014                      container exclude {
11985                        description12015                        description
11986                          "Per-link LFA exclusion information";12016                          "Per-link LFA exclusion information";
11987                        container interfaces {12017                        container interfaces {
11988                          description12018                          description
11989                            "Exclude an interface from Per-link LFA";12019                            "Exclude an interface from Per-link LFA";
11990                          list interface {12020                          list interface {
11991                            key "interface-name";12021                            key "interface-name";
11992                            description12022                            description
11993                              "Exclude an interface from Per-link LFA";12023                              "Exclude an interface from Per-link LFA";
11994                            leaf interface-name {12024                            leaf interface-name {
11995                              type xr:Interface-name;12025                              type xr:Interface-name;
11996                              description12026                              description
11997                                "Exclude an interface from Per-link LFA";12027                                "Exclude an interface from Per-link LFA";
11998                            }12028                            }
11999                          }12029                          }
12000                        }12030                        }
12001                      }12031                      }
12002                      container lfa-candidate {12032                      container lfa-candidate {
12003                        description12033                        description
12004                          "FRR LFA candidate information";12034                          "FRR LFA candidate information";
12005                        container interfaces {12035                        container interfaces {
12006                          description12036                          description
12007                            "Include an interface to LFA candidate in computation";12037                            "Include an interface to LFA candidate in computation";
12008                          list interface {12038                          list interface {
12009                            key "interface-name";12039                            key "interface-name";
12010                            description12040                            description
12011                              "Include an interface to LFA candidate in computation";12041                              "Include an interface to LFA candidate in computation";
12012                            leaf interface-name {12042                            leaf interface-name {
12013                              type xr:Interface-name;12043                              type xr:Interface-name;
12014                              description12044                              description
12015                                "Include an interface to LFA candidate in computation";12045                                "Include an interface to LFA candidate in computation";
12016                            }12046                            }
12017                          }12047                          }
12018                        }12048                        }
12019                      }12049                      }
12020                      container use-candidate-only {12050                      container use-candidate-only {
12021                        description12051                        description
12022                          "Enable/Disable backup selection from candidate-list only";12052                          "Enable/Disable backup selection from candidate-list only";
12023                        container enable {12053                        container enable {
12024                          must "not(../disable)";12054                          must "not(../disable)";
12025                          presence "Indicates a enable node is configured.";12055                          presence "Indicates a enable node is configured.";
12026                          description12056                          description
12027                            "Enable backup selection from candidate-list only";12057                            "Enable backup selection from candidate-list only";
12028                        }12058                        }
12029                        container disable {12059                        container disable {
12030                          must "not(../enable)";12060                          must "not(../enable)";
12031                          presence "Indicates a disable node is configured.";12061                          presence "Indicates a disable node is configured.";
12032                          description12062                          description
12033                            "Disable backup selection from candidate-list only";12063                            "Disable backup selection from candidate-list only";
12034                        }12064                        }
12035                      }12065                      }
12036                    }12066                    }
12037                    container per-prefix {12067                    container per-prefix {
12038                      description12068                      description
12039                        "Per-prefix Computation";12069                        "Per-prefix Computation";
12040                      container enable {12070                      container enable {
12041                        presence "Indicates a enable node is configured.";12071                        presence "Indicates a enable node is configured.";
12042                        description12072                        description
12043                          "Enable per-prefix Computation";12073                          "Enable per-prefix Computation";
12044                      }12074                      }
12045                      container exclude {12075                      container exclude {
12046                        description12076                        description
12047                          "Per-prefix LFA exclusion information";12077                          "Per-prefix LFA exclusion information";
12048                        container interfaces {12078                        container interfaces {
12049                          description12079                          description
12050                            "Exclude an interface from Per-prefix LFA";12080                            "Exclude an interface from Per-prefix LFA";
12051                          list interface {12081                          list interface {
12052                            key "interface-name";12082                            key "interface-name";
12053                            description12083                            description
12054                              "Exclude an interface from Per-prefix LFA";12084                              "Exclude an interface from Per-prefix LFA";
12055                            leaf interface-name {12085                            leaf interface-name {
12056                              type xr:Interface-name;12086                              type xr:Interface-name;
12057                              description12087                              description
12058                                "Exclude an interface from Per-prefix LFA";12088                                "Exclude an interface from Per-prefix LFA";
12059                            }12089                            }
12060                          }12090                          }
12061                        }12091                        }
12062                      }12092                      }
12063                      container lfa-candidate {12093                      container lfa-candidate {
12064                        description12094                        description
12065                          "FRR LFA candidate information";12095                          "FRR LFA candidate information";
12066                        container interfaces {12096                        container interfaces {
12067                          description12097                          description
12068                            "Include an interface to LFA candidate in computation";12098                            "Include an interface to LFA candidate in computation";
12069                          list interface {12099                          list interface {
12070                            key "interface-name";12100                            key "interface-name";
12071                            description12101                            description
12072                              "Include an interface to LFA candidate in computation";12102                              "Include an interface to LFA candidate in computation";
12073                            leaf interface-name {12103                            leaf interface-name {
12074                              type xr:Interface-name;12104                              type xr:Interface-name;
12075                              description12105                              description
12076                                "Include an interface to LFA candidate in computation";12106                                "Include an interface to LFA candidate in computation";
12077                            }12107                            }
12078                          }12108                          }
12079                        }12109                        }
12080                      }12110                      }
12081                      container use-candidate-only {12111                      container use-candidate-only {
12082                        description12112                        description
12083                          "Enable/Disable backup selection from candidate-list only";12113                          "Enable/Disable backup selection from candidate-list only";
12084                        container enable {12114                        container enable {
12085                          must "not(../disable)";12115                          must "not(../disable)";
12086                          presence "Indicates a enable node is configured.";12116                          presence "Indicates a enable node is configured.";
12087                          description12117                          description
12088                            "Enable backup selection from candidate-list only";12118                            "Enable backup selection from candidate-list only";
12089                        }12119                        }
12090                        container disable {12120                        container disable {
12091                          must "not(../enable)";12121                          must "not(../enable)";
12092                          presence "Indicates a disable node is configured.";12122                          presence "Indicates a disable node is configured.";
12093                          description12123                          description
12094                            "Disable backup selection from candidate-list only";12124                            "Disable backup selection from candidate-list only";
12095                        }12125                        }
12096                      }12126                      }
12097                      container tiebreaker {12127                      container tiebreaker {
12098                        description12128                        description
12099                          "Configure tiebreaker for multiple backups";12129                          "Configure tiebreaker for multiple backups";
12100                        container downstream {12130                        container downstream {
12101                          description12131                          description
12102                            "Prefer backup path via downstream node";12132                            "Prefer backup path via downstream node";
12103                          leaf index {12133                          leaf index {
12104                            type uint32 {12134                            type uint32 {
12105                              range "1..255" {12135                              range "1..255" {
12106                                description12136                                description
12107                                  "Index";12137                                  "Index";
12108                              }12138                              }
12109                            }12139                            }
12110                            must "not(../disable)";12140                            must "not(../disable)";
12111                            description12141                            description
12112                              "Set preference order among tiebreakers";12142                              "Set preference order among tiebreakers";
12113                          }12143                          }
12114                          container disable {12144                          container disable {
12115                            must "not(../index)";12145                            must "not(../index)";
12116                            presence "Indicates a disable node is configured.";12146                            presence "Indicates a disable node is configured.";
12117                            description12147                            description
12118                              "Disable tiebreaker";12148                              "Disable tiebreaker";
12119                          }12149                          }
12120                        }12150                        }
12121                        container lc-disjoint {12151                        container lc-disjoint {
12122                          description12152                          description
12123                            "Prefer line card disjoint backup path";12153                            "Prefer line card disjoint backup path";
12124                          leaf index {12154                          leaf index {
12125                            type uint32 {12155                            type uint32 {
12126                              range "1..255" {12156                              range "1..255" {
12127                                description12157                                description
12128                                  "Index";12158                                  "Index";
12129                              }12159                              }
12130                            }12160                            }
12131                            must "not(../disable)";12161                            must "not(../disable)";
12132                            description12162                            description
12133                              "Set preference order among tiebreakers";12163                              "Set preference order among tiebreakers";
12134                          }12164                          }
12135                          container disable {12165                          container disable {
12136                            must "not(../index)";12166                            must "not(../index)";
12137                            presence "Indicates a disable node is configured.";12167                            presence "Indicates a disable node is configured.";
12138                            description12168                            description
12139                              "Disable tiebreaker";12169                              "Disable tiebreaker";
12140                          }12170                          }
12141                        }12171                        }
12142                        container lowest-backup-metric {12172                        container lowest-backup-metric {
12143                          description12173                          description
12144                            "Prefer backup path with lowest total metric";12174                            "Prefer backup path with lowest total metric";
12145                          leaf index {12175                          leaf index {
12146                            type uint32 {12176                            type uint32 {
12147                              range "1..255" {12177                              range "1..255" {
12148                                description12178                                description
12149                                  "Index";12179                                  "Index";
12150                              }12180                              }
12151                            }12181                            }
12152                            must "not(../disable)";12182                            must "not(../disable)";
12153                            description12183                            description
12154                              "Set preference order among tiebreakers";12184                              "Set preference order among tiebreakers";
12155                          }12185                          }
12156                          container disable {12186                          container disable {
12157                            must "not(../index)";12187                            must "not(../index)";
12158                            presence "Indicates a disable node is configured.";12188                            presence "Indicates a disable node is configured.";
12159                            description12189                            description
12160                              "Disable tiebreaker";12190                              "Disable tiebreaker";
12161                          }12191                          }
12162                        }12192                        }
12163                        container node-protecting {12193                        container node-protecting {
12164                          description12194                          description
12165                            "Prefer node protecting backup path";12195                            "Prefer node protecting backup path";
12166                          leaf index {12196                          leaf index {
12167                            type uint32 {12197                            type uint32 {
12168                              range "1..255" {12198                              range "1..255" {
12169                                description12199                                description
12170                                  "Index";12200                                  "Index";
12171                              }12201                              }
12172                            }12202                            }
12173                            must "not(../disable)";12203                            must "not(../disable)";
12174                            description12204                            description
12175                              "Set preference order among tiebreakers";12205                              "Set preference order among tiebreakers";
12176                          }12206                          }
12177                          container disable {12207                          container disable {
12178                            must "not(../index)";12208                            must "not(../index)";
12179                            presence "Indicates a disable node is configured.";12209                            presence "Indicates a disable node is configured.";
12180                            description12210                            description
12181                              "Disable tiebreaker";12211                              "Disable tiebreaker";
12182                          }12212                          }
12183                        }12213                        }
12184                        container primary-path {12214                        container primary-path {
12185                          description12215                          description
12186                            "Prefer backup path from ECMP set";12216                            "Prefer backup path from ECMP set";
12187                          leaf index {12217                          leaf index {
12188                            type uint32 {12218                            type uint32 {
12189                              range "1..255" {12219                              range "1..255" {
12190                                description12220                                description
12191                                  "Index";12221                                  "Index";
12192                              }12222                              }
12193                            }12223                            }
12194                            must "not(../disable)";12224                            must "not(../disable)";
12195                            description12225                            description
12196                              "Set preference order among tiebreakers";12226                              "Set preference order among tiebreakers";
12197                          }12227                          }
12198                          container disable {12228                          container disable {
12199                            must "not(../index)";12229                            must "not(../index)";
12200                            presence "Indicates a disable node is configured.";12230                            presence "Indicates a disable node is configured.";
12201                            description12231                            description
12202                              "Disable tiebreaker";12232                              "Disable tiebreaker";
12203                          }12233                          }
12204                        }12234                        }
12205                        container secondary-path {12235                        container secondary-path {
12206                          description12236                          description
12207                            "Prefer non-ECMP backup path";12237                            "Prefer non-ECMP backup path";
12208                          leaf index {12238                          leaf index {
12209                            type uint32 {12239                            type uint32 {
12210                              range "1..255" {12240                              range "1..255" {
12211                                description12241                                description
12212                                  "Index";12242                                  "Index";
12213                              }12243                              }
12214                            }12244                            }
12215                            must "not(../disable)";12245                            must "not(../disable)";
12216                            description12246                            description
12217                              "Set preference order among tiebreakers";12247                              "Set preference order among tiebreakers";
12218                          }12248                          }
12219                          container disable {12249                          container disable {
12220                            must "not(../index)";12250                            must "not(../index)";
12221                            presence "Indicates a disable node is configured.";12251                            presence "Indicates a disable node is configured.";
12222                            description12252                            description
12223                              "Disable tiebreaker";12253                              "Disable tiebreaker";
12224                          }12254                          }
12225                        }12255                        }
12226                        container interface-disjoint {12256                        container interface-disjoint {
12227                          description12257                          description
12228                            "Prefer Interface disjoint backup path";12258                            "Prefer Interface disjoint backup path";
12229                          leaf index {12259                          leaf index {
12230                            type uint32 {12260                            type uint32 {
12231                              range "1..255" {12261                              range "1..255" {
12232                                description12262                                description
12233                                  "Index";12263                                  "Index";
12234                              }12264                              }
12235                            }12265                            }
12236                            must "not(../disable)";12266                            must "not(../disable)";
12237                            description12267                            description
12238                              "Set preference order among tiebreakers";12268                              "Set preference order among tiebreakers";
12239                          }12269                          }
12240                          container disable {12270                          container disable {
12241                            must "not(../index)";12271                            must "not(../index)";
12242                            presence "Indicates a disable node is configured.";12272                            presence "Indicates a disable node is configured.";
12243                            description12273                            description
12244                              "Disable tiebreaker";12274                              "Disable tiebreaker";
12245                          }12275                          }
12246                        }12276                        }
12247                        container srlg-disjoint {12277                        container srlg-disjoint {
12248                          description12278                          description
12249                            "Prefer SRLG disjoint backup path";12279                            "Prefer SRLG disjoint backup path";
12250                          leaf index {12280                          leaf index {
12251                            type uint32 {12281                            type uint32 {
12252                              range "1..255" {12282                              range "1..255" {
12253                                description12283                                description
12254                                  "Index";12284                                  "Index";
12255                              }12285                              }
12256                            }12286                            }
12257                            must "not(../disable)";12287                            must "not(../disable)";
12258                            description12288                            description
12259                              "Set preference order among tiebreakers";12289                              "Set preference order among tiebreakers";
12260                          }12290                          }
12261                          container disable {12291                          container disable {
12262                            must "not(../index)";12292                            must "not(../index)";
12263                            presence "Indicates a disable node is configured.";12293                            presence "Indicates a disable node is configured.";
12264                            description12294                            description
12265                              "Disable tiebreaker";12295                              "Disable tiebreaker";
12266                          }12296                          }
12267                        }12297                        }
12268                      }12298                      }
12269                    }12299                    }
12270                    container disable {12300                    container disable {
12271                      presence "Indicates a disable node is configured.";12301                      presence "Indicates a disable node is configured.";
12272                      description12302                      description
12273                        "Disable IP Fast Reroute";12303                        "Disable IP Fast Reroute";
12274                    }12304                    }
12275                  }12305                  }
12276                  container loopback {12306                  container loopback {
12277                    description12307                    description
12278                      "OSPF loopback configuration";12308                      "OSPF loopback configuration";
12279                    container stub-network {12309                    container stub-network {
12280                      description12310                      description
12281                        "Advertise loopback as a stub network";12311                        "Advertise loopback as a stub network";
12282                      container enable {12312                      container enable {
12283                        must "not(../disable)";12313                        must "not(../disable)";
12284                        presence "Indicates a enable node is configured.";12314                        presence "Indicates a enable node is configured.";
12285                        description12315                        description
12286                          "Enable advertising loopback as a stub network";12316                          "Enable advertising loopback as a stub network";
12287                      }12317                      }
12288                      container disable {12318                      container disable {
12289                        must "not(../enable)";12319                        must "not(../enable)";
12290                        presence "Indicates a disable node is configured.";12320                        presence "Indicates a disable node is configured.";
12291                        description12321                        description
12292                          "Disable advertising loopback as a stub network";12322                          "Disable advertising loopback as a stub network";
12293                      }12323                      }
12294                    }12324                    }
12295                  }12325                  }
12296                  container link-down {12326                  container link-down {
12297                    description12327                    description
12298                      "Configure interface down parameters";12328                      "Configure interface down parameters";
12299                    container fast-detect {12329                    container fast-detect {
12300                      presence "Indicates a fast-detect node is configured.";12330                      presence "Indicates a fast-detect node is configured.";
12301                      description12331                      description
12302                        "Enable fast or early detection of link-down events";12332                        "Enable fast or early detection of link-down events";
12303                      container disable {12333                      container disable {
12304                        presence "Indicates a disable node is configured.";12334                        presence "Indicates a disable node is configured.";
12305                        description12335                        description
12306                          "Disable fast or early detection of link-down events";12336                          "Disable fast or early detection of link-down events";
12307                      }12337                      }
12308                    }12338                    }
12309                  }12339                  }
12310                  leaf weight {12340                  leaf weight {
12311                    type uint32 {12341                    type uint32 {
12312                      range "1..16777214" {12342                      range "1..16777214" {
12313                        description12343                        description
12314                          "Weight value";12344                          "Weight value";
12315                      }12345                      }
12316                    }12346                    }
12317                    description12347                    description
12318                      "Interface weight";12348                      "Interface weight";
12319                  }12349                  }
12320                  container delay {12350                  container delay {
12321                    description12351                    description
12322                      "Delay configuration setting";12352                      "Delay configuration setting";
12323                    container normalize {12353                    container normalize {
12324                      description12354                      description
12325                        "Delay normalization setting";12355                        "Delay normalization setting";
12326                      leaf interval {12356                      leaf interval {
12327                        type uint32 {12357                        type uint32 {
12328                          range "1..16777215" {12358                          range "1..16777215" {
12329                            description12359                            description
12330                              "Value in microseconds";12360                              "Value in microseconds";
12331                          }12361                          }
12332                        }12362                        }
12333                        must "../offset";12363                        must "../offset";
12334                        description12364                        description
12335                          "Normalization interval";12365                          "Normalization interval";
12336                      }12366                      }
12337                      leaf offset {12367                      leaf offset {
12338                        type uint32 {12368                        type uint32 {
12339                          range "0..16777215" {12369                          range "0..16777215" {
12340                            description12370                            description
12341                              "Value in microseconds";12371                              "Value in microseconds";
12342                          }12372                          }
12343                        }12373                        }
12344                        must "../interval";12374                        must "../interval";
12345                        description12375                        description
12346                          "Normalization offset";12376                          "Normalization offset";
12347                      }12377                      }
12348                    }12378                    }
12349                  }12379                  }
12350                  container virtual-links {12380                  container virtual-links {
12351                    description12381                    description
12352                      "Define a virtual link";12382                      "Define a virtual link";
12353                    list virtual-link {12383                    list virtual-link {
12354                      key "virtual-link-id";12384                      key "virtual-link-id";
12355                      description12385                      description
12356                        "Define a virtual link";12386                        "Define a virtual link";
12357                      leaf virtual-link-id {12387                      leaf virtual-link-id {
12358                        type inet:ipv4-address-no-zone;12388                        type inet:ipv4-address-no-zone;
12359                        description12389                        description
12360                          "Define a virtual link";12390                          "Define a virtual link";
12361                      }12391                      }
12362                      leaf hello-interval {12392                      leaf hello-interval {
12363                        type uint32 {12393                        type uint32 {
12364                          range "1..65535" {12394                          range "1..65535" {
12365                            description12395                            description
12366                              "Seconds";12396                              "Seconds";
12367                          }12397                          }
12368                        }12398                        }
12369                        description12399                        description
12370                          "Time between HELLO packets";12400                          "Time between HELLO packets";
12371                      }12401                      }
12372                      leaf dead-interval {12402                      leaf dead-interval {
12373                        type uint32 {12403                        type uint32 {
12374                          range "1..65535" {12404                          range "1..65535" {
12375                            description12405                            description
12376                              "Seconds";12406                              "Seconds";
12377                          }12407                          }
12378                        }12408                        }
12379                        must "not(../dead-interval-minimal-hello-multiplier)";12409                        must "not(../dead-interval-minimal-hello-multiplier)";
12380                        description12410                        description
12381                          "Seconds";12411                          "Seconds";
12382                      }12412                      }
12383                      leaf dead-interval-minimal-hello-multiplier {12413                      leaf dead-interval-minimal-hello-multiplier {
12384                        type uint32 {12414                        type uint32 {
12385                          range "3..20" {12415                          range "3..20" {
12386                            description12416                            description
12387                              "Multiplier";12417                              "Multiplier";
12388                          }12418                          }
12389                        }12419                        }
12390                        must "not(../dead-interval)";12420                        must "not(../dead-interval)";
12391                        description12421                        description
12392                          "Set multiplier for Hellos";12422                          "Set multiplier for Hellos";
12393                      }12423                      }
12394                      leaf retransmit-interval {12424                      leaf retransmit-interval {
12395                        type uint32 {12425                        type uint32 {
12396                          range "1..65535" {12426                          range "1..65535" {
12397                            description12427                            description
12398                              "Seconds";12428                              "Seconds";
12399                          }12429                          }
12400                        }12430                        }
12401                        description12431                        description
12402                          "Delay between LSA retransmissions";12432                          "Delay between LSA retransmissions";
12403                      }12433                      }
12404                      leaf transmit-delay {12434                      leaf transmit-delay {
12405                        type uint32 {12435                        type uint32 {
12406                          range "1..65535" {12436                          range "1..65535" {
12407                            description12437                            description
12408                              "Seconds";12438                              "Seconds";
12409                          }12439                          }
12410                        }12440                        }
12411                        description12441                        description
12412                          "Link state transmit delay";12442                          "Link state transmit delay";
12413                      }12443                      }
12414                      container authentication-key {12444                      container authentication-key {
12415                        description12445                        description
12416                          "Authentication password (key)";12446                          "Authentication password (key)";
12417                        leaf encrypted {12447                        leaf encrypted {
12418                          type xr:Proprietary-password;12448                          type xr:Proprietary-password;
12419                          description12449                          description
12420                            "Specifies an ENCRYPTED password (key) will follow";12450                            "Specifies an ENCRYPTED password (key) will follow";
12421                        }12451                        }
12422                      }12452                      }
12423                      container message-digest-keys {12453                      container message-digest-keys {
12424                        description12454                        description
12425                          "Message digest authentication password (key)";12455                          "Message digest authentication password (key)";
12426                        list message-digest-key {12456                        list message-digest-key {
12427                          key "message-digest-key-id";12457                          key "message-digest-key-id";
12428                          description12458                          description
12429                            "Message digest authentication password (key)";12459                            "Message digest authentication password (key)";
12430                          leaf message-digest-key-id {12460                          leaf message-digest-key-id {
12431                            type uint32 {12461                            type uint32 {
12432                              range "1..255" {12462                              range "1..255" {
12433                                description12463                                description
12434                                  "Key ID";12464                                  "Key ID";
12435                              }12465                              }
12436                            }12466                            }
12437                            description12467                            description
12438                              "Message digest authentication password (key)";12468                              "Message digest authentication password (key)";
12439                          }12469                          }
12440                          container md5 {12470                          container md5 {
12441                            description12471                            description
12442                              "Use MD5 algorithm";12472                              "Use MD5 algorithm";
12443                            leaf encrypted {12473                            leaf encrypted {
12444                              type xr:Proprietary-password;12474                              type xr:Proprietary-password;
12445                              description12475                              description
12446                                "Specifies an ENCRYPTED password (key) will follow";12476                                "Specifies an ENCRYPTED password (key) will follow";
12447                            }12477                            }
12448                          }12478                          }
12449                        }12479                        }
12450                      }12480                      }
12451                      container authentication {12481                      container authentication {
12452                        presence "Indicates a authentication node is configured.";12482                        presence "Indicates a authentication node is configured.";
12453                        description12483                        description
12454                          "Enable authentication";12484                          "Enable authentication";
12455                        container message-digest {12485                        container message-digest {
12456                          must "not(../null or ../keychain)";12486                          must "not(../null or ../keychain)";
12457                          presence "Indicates a message-digest node is configured.";12487                          presence "Indicates a message-digest node is configured.";
12458                          description12488                          description
12459                            "Use message-digest authentication";12489                            "Use message-digest authentication";
12460                        }12490                        }
12461                        container keychain {12491                        container keychain {
12462                          must "../keychain-name";12492                          must "../keychain-name";
12463                          presence "Indicates a keychain node is configured.";12493                          presence "Indicates a keychain node is configured.";
12464                          description12494                          description
12465                            "Use keychain";12495                            "Use keychain";
12466                        }12496                        }
12467                        leaf keychain-name {12497                        leaf keychain-name {
12468                          type string {12498                          type string {
12469                            length "1..32" {12499                            length "1..32" {
12470                              description12500                              description
12471                                "The keychain name";12501                                "The keychain name";
12472                            }12502                            }
12473                          }12503                          }
12474                          must "(../message-digest or ../keychain) and not(../null)";12504                          must "(../message-digest or ../keychain) and not(../null)";
12475                          description12505                          description
12476                            "Specify keychain name";12506                            "Specify keychain name";
12477                        }12507                        }
12478                        container null {12508                        container null {
12479                          must "not(../message-digest or ../keychain)";12509                          must "not(../message-digest or ../keychain)";
12480                          presence "Indicates a null node is configured.";12510                          presence "Indicates a null node is configured.";
12481                          description12511                          description
12482                            "Use no authentication";12512                            "Use no authentication";
12483                        }12513                        }
12484                      }12514                      }
12485                    }12515                    }
12486                  }12516                  }
12487                  container sham-links {12517                  container sham-links {
12488                    description12518                    description
12489                      "Define a sham link";12519                      "Define a sham link";
12490                    list sham-link {12520                    list sham-link {
12491                      key "local-address remote-address";12521                      key "local-address remote-address";
12492                      description12522                      description
12493                        "Define a sham link";12523                        "Define a sham link";
12494                      leaf local-address {12524                      leaf local-address {
12495                        type inet:ipv4-address-no-zone;12525                        type inet:ipv4-address-no-zone;
12496                        description12526                        description
12497                          "Address of the local sham-link endpoint";12527                          "Address of the local sham-link endpoint";
12498                      }12528                      }
12499                      leaf remote-address {12529                      leaf remote-address {
12500                        type inet:ipv4-address-no-zone;12530                        type inet:ipv4-address-no-zone;
12501                        description12531                        description
12502                          "Address of the remote sham-link endpoint";12532                          "Address of the remote sham-link endpoint";
12503                      }12533                      }
12504                      leaf cost {12534                      leaf cost {
12505                        type uint32 {12535                        type uint32 {
12506                          range "1..65535" {12536                          range "1..65535" {
12507                            description12537                            description
12508                              "Cost";12538                              "Cost";
12509                          }12539                          }
12510                        }12540                        }
12511                        description12541                        description
12512                          "Sham-link cost";12542                          "Sham-link cost";
12513                      }12543                      }
12514                      leaf hello-interval {12544                      leaf hello-interval {
12515                        type uint32 {12545                        type uint32 {
12516                          range "1..65535" {12546                          range "1..65535" {
12517                            description12547                            description
12518                              "Seconds";12548                              "Seconds";
12519                          }12549                          }
12520                        }12550                        }
12521                        description12551                        description
12522                          "Time between HELLO packets";12552                          "Time between HELLO packets";
12523                      }12553                      }
12524                      leaf dead-interval {12554                      leaf dead-interval {
12525                        type uint32 {12555                        type uint32 {
12526                          range "1..65535" {12556                          range "1..65535" {
12527                            description12557                            description
12528                              "Seconds";12558                              "Seconds";
12529                          }12559                          }
12530                        }12560                        }
12531                        must "not(../dead-interval-minimal-hello-multiplier)";12561                        must "not(../dead-interval-minimal-hello-multiplier)";
12532                        description12562                        description
12533                          "Seconds";12563                          "Seconds";
12534                      }12564                      }
12535                      leaf dead-interval-minimal-hello-multiplier {12565                      leaf dead-interval-minimal-hello-multiplier {
12536                        type uint32 {12566                        type uint32 {
12537                          range "3..20" {12567                          range "3..20" {
12538                            description12568                            description
12539                              "Multiplier";12569                              "Multiplier";
12540                          }12570                          }
12541                        }12571                        }
12542                        must "not(../dead-interval)";12572                        must "not(../dead-interval)";
12543                        description12573                        description
12544                          "Set multiplier for Hellos";12574                          "Set multiplier for Hellos";
12545                      }12575                      }
12546                      leaf retransmit-interval {12576                      leaf retransmit-interval {
12547                        type uint32 {12577                        type uint32 {
12548                          range "1..65535" {12578                          range "1..65535" {
12549                            description12579                            description
12550                              "Seconds";12580                              "Seconds";
12551                          }12581                          }
12552                        }12582                        }
12553                        description12583                        description
12554                          "Delay between LSA retransmissions";12584                          "Delay between LSA retransmissions";
12555                      }12585                      }
12556                      leaf transmit-delay {12586                      leaf transmit-delay {
12557                        type uint32 {12587                        type uint32 {
12558                          range "1..65535" {12588                          range "1..65535" {
12559                            description12589                            description
12560                              "Seconds";12590                              "Seconds";
12561                          }12591                          }
12562                        }12592                        }
12563                        description12593                        description
12564                          "Link state transmit delay";12594                          "Link state transmit delay";
12565                      }12595                      }
12566                      container authentication-key {12596                      container authentication-key {
12567                        description12597                        description
12568                          "Authentication password (key)";12598                          "Authentication password (key)";
12569                        leaf encrypted {12599                        leaf encrypted {
12570                          type xr:Proprietary-password;12600                          type xr:Proprietary-password;
12571                          description12601                          description
12572                            "Specifies an ENCRYPTED password (key) will follow";12602                            "Specifies an ENCRYPTED password (key) will follow";
12573                        }12603                        }
12574                      }12604                      }
12575                      container message-digest-keys {12605                      container message-digest-keys {
12576                        description12606                        description
12577                          "Message digest authentication password (key)";12607                          "Message digest authentication password (key)";
12578                        list message-digest-key {12608                        list message-digest-key {
12579                          key "message-digest-key-id";12609                          key "message-digest-key-id";
12580                          description12610                          description
12581                            "Message digest authentication password (key)";12611                            "Message digest authentication password (key)";
12582                          leaf message-digest-key-id {12612                          leaf message-digest-key-id {
12583                            type uint32 {12613                            type uint32 {
12584                              range "1..255" {12614                              range "1..255" {
12585                                description12615                                description
12586                                  "Key ID";12616                                  "Key ID";
12587                              }12617                              }
12588                            }12618                            }
12589                            description12619                            description
12590                              "Message digest authentication password (key)";12620                              "Message digest authentication password (key)";
12591                          }12621                          }
12592                          container md5 {12622                          container md5 {
12593                            description12623                            description
12594                              "Use MD5 algorithm";12624                              "Use MD5 algorithm";
12595                            leaf encrypted {12625                            leaf encrypted {
12596                              type xr:Proprietary-password;12626                              type xr:Proprietary-password;
12597                              description12627                              description
12598                                "Specifies an ENCRYPTED password (key) will follow";12628                                "Specifies an ENCRYPTED password (key) will follow";
12599                            }12629                            }
12600                          }12630                          }
12601                        }12631                        }
12602                      }12632                      }
12603                      container authentication {12633                      container authentication {
12604                        presence "Indicates a authentication node is configured.";12634                        presence "Indicates a authentication node is configured.";
12605                        description12635                        description
12606                          "Enable authentication";12636                          "Enable authentication";
12607                        container message-digest {12637                        container message-digest {
12608                          must "not(../null or ../keychain)";12638                          must "not(../null or ../keychain)";
12609                          presence "Indicates a message-digest node is configured.";12639                          presence "Indicates a message-digest node is configured.";
12610                          description12640                          description
12611                            "Use message-digest authentication";12641                            "Use message-digest authentication";
12612                        }12642                        }
12613                        container keychain {12643                        container keychain {
12614                          must "../keychain-name";12644                          must "../keychain-name";
12615                          presence "Indicates a keychain node is configured.";12645                          presence "Indicates a keychain node is configured.";
12616                          description12646                          description
12617                            "Use keychain";12647                            "Use keychain";
12618                        }12648                        }
12619                        leaf keychain-name {12649                        leaf keychain-name {
12620                          type string {12650                          type string {
12621                            length "1..32" {12651                            length "1..32" {
12622                              description12652                              description
12623                                "The keychain name";12653                                "The keychain name";
12624                            }12654                            }
12625                          }12655                          }
12626                          must "(../message-digest or ../keychain) and not(../null)";12656                          must "(../message-digest or ../keychain) and not(../null)";
12627                          description12657                          description
12628                            "Specify keychain name";12658                            "Specify keychain name";
12629                        }12659                        }
12630                        container null {12660                        container null {
12631                          must "not(../message-digest or ../keychain)";12661                          must "not(../message-digest or ../keychain)";
12632                          presence "Indicates a null node is configured.";12662                          presence "Indicates a null node is configured.";
12633                          description12663                          description
12634                            "Use no authentication";12664                            "Use no authentication";
12635                        }12665                        }
12636                      }12666                      }
12637                    }12667                    }
12638                  }12668                  }
12639                }12669                }
12640              }12670              }
12641              container authentication-key {12671              container authentication-key {
12642                description12672                description
12643                  "Authentication password (key)";12673                  "Authentication password (key)";
12644                leaf encrypted {12674                leaf encrypted {
12645                  type xr:Proprietary-password;12675                  type xr:Proprietary-password;
12646                  description12676                  description
12647                    "Specifies an ENCRYPTED password (key) will follow";12677                    "Specifies an ENCRYPTED password (key) will follow";
12648                }12678                }
12649              }12679              }
12650              container message-digest-keys {12680              container message-digest-keys {
12651                description12681                description
12652                  "Message digest authentication password (key)";12682                  "Message digest authentication password (key)";
12653                list message-digest-key {12683                list message-digest-key {
12654                  key "message-digest-key-id";12684                  key "message-digest-key-id";
12655                  description12685                  description
12656                    "Message digest authentication password (key)";12686                    "Message digest authentication password (key)";
12657                  leaf message-digest-key-id {12687                  leaf message-digest-key-id {
12658                    type uint32 {12688                    type uint32 {
12659                      range "1..255" {12689                      range "1..255" {
12660                        description12690                        description
12661                          "Key ID";12691                          "Key ID";
12662                      }12692                      }
12663                    }12693                    }
12664                    description12694                    description
12665                      "Message digest authentication password (key)";12695                      "Message digest authentication password (key)";
12666                  }12696                  }
12667                  container md5 {12697                  container md5 {
12668                    description12698                    description
12669                      "Use MD5 algorithm";12699                      "Use MD5 algorithm";
12670                    leaf encrypted {12700                    leaf encrypted {
12671                      type xr:Proprietary-password;12701                      type xr:Proprietary-password;
12672                      mandatory true;12702                      mandatory true;
12673                      description12703                      description
12674                        "Specifies an ENCRYPTED password (key) will follow";12704                        "Specifies an ENCRYPTED password (key) will follow";
12675                    }12705                    }
12676                  }12706                  }
12677                }12707                }
12678              }12708              }
12679              container authentication {12709              container authentication {
12680                presence "Indicates a authentication node is configured.";12710                presence "Indicates a authentication node is configured.";
12681                description12711                description
12682                  "Enable authentication";12712                  "Enable authentication";
12683                container message-digest {12713                container message-digest {
12684                  must "not(../null or ../keychain)";12714                  must "not(../null or ../keychain)";
12685                  presence "Indicates a message-digest node is configured.";12715                  presence "Indicates a message-digest node is configured.";
12686                  description12716                  description
12687                    "Use message-digest authentication";12717                    "Use message-digest authentication";
12688                }12718                }
12689                container keychain {12719                container keychain {
12690                  must "../keychain-name";12720                  must "../keychain-name";
12691                  presence "Indicates a keychain node is configured.";12721                  presence "Indicates a keychain node is configured.";
12692                  description12722                  description
12693                    "Use keychain";12723                    "Use keychain";
12694                }12724                }
12695                leaf keychain-name {12725                leaf keychain-name {
12696                  type string {12726                  type string {
12697                    length "1..32" {12727                    length "1..32" {
12698                      description12728                      description
12699                        "The keychain name";12729                        "The keychain name";
12700                    }12730                    }
12701                  }12731                  }
12702                  must "(../message-digest or ../keychain) and not(../null)";12732                  must "(../message-digest or ../keychain) and not(../null)";
12703                  description12733                  description
12704                    "Specify keychain name";12734                    "Specify keychain name";
12705                }12735                }
12706                container null {12736                container null {
12707                  must "not(../message-digest or ../keychain)";12737                  must "not(../message-digest or ../keychain)";
12708                  presence "Indicates a null node is configured.";12738                  presence "Indicates a null node is configured.";
12709                  description12739                  description
12710                    "Use no authentication";12740                    "Use no authentication";
12711                }12741                }
12712              }12742              }
12713              container network {12743              container network {
12714                description12744                description
12715                  "Network type";12745                  "Network type";
12716                container broadcast {12746                container broadcast {
12717                  presence "Indicates a broadcast node is configured.";12747                  presence "Indicates a broadcast node is configured.";
12718                  description12748                  description
12719                    "Specify OSPF broadcast multi-access network";12749                    "Specify OSPF broadcast multi-access network";
12720                }12750                }
12721                container non-broadcast {12751                container non-broadcast {
12722                  presence "Indicates a non-broadcast node is configured.";12752                  presence "Indicates a non-broadcast node is configured.";
12723                  description12753                  description
12724                    "Specify OSPF NBMA network";12754                    "Specify OSPF NBMA network";
12725                }12755                }
12726                container point-to-point {12756                container point-to-point {
12727                  presence "Indicates a point-to-point node is configured.";12757                  presence "Indicates a point-to-point node is configured.";
12728                  description12758                  description
12729                    "Specify OSPF point-to-point network";12759                    "Specify OSPF point-to-point network";
12730                }12760                }
12731                container point-to-multipoint {12761                container point-to-multipoint {
12732                  presence "Indicates a point-to-multipoint node is configured.";12762                  presence "Indicates a point-to-multipoint node is configured.";
12733                  description12763                  description
12734                    "Specify OSPF point-to-multipoint network";12764                    "Specify OSPF point-to-multipoint network";
12735                }12765                }
12736              }12766              }
12737              container mpls {12767              container mpls {
12738                description12768                description
12739                  "Configure MPLS routing protocol parameters";12769                  "Configure MPLS routing protocol parameters";
12740                container ldp {12770                container ldp {
12741                  description12771                  description
12742                    "Configure LDP parameters";12772                    "Configure LDP parameters";
12743                  container sync {12773                  container sync {
12744                    presence "Indicates a sync node is configured.";12774                    presence "Indicates a sync node is configured.";
12745                    description12775                    description
12746                      "Enable LDP IGP synchronization";12776                      "Enable LDP IGP synchronization";
12747                  }12777                  }
12748                }12778                }
12749              }12779              }
12750              leaf cost {12780              leaf cost {
12751                type uint32 {12781                type uint32 {
12752                  range "1..65535" {12782                  range "1..65535" {
12753                    description12783                    description
12754                      "Cost";12784                      "Cost";
12755                  }12785                  }
12756                }12786                }
12757                description12787                description
12758                  "Interface cost";12788                  "Interface cost";
12759              }12789              }
12760              container cost-fallback {12790              container cost-fallback {
12761                description12791                description
12762                  "Cost fallback when anomaly is detected";12792                  "Cost fallback when anomaly is detected";
12763                container anomaly {12793                container anomaly {
12764                  description12794                  description
12765                    "Penalty when a delay or loss is notified";12795                    "Penalty when a delay or loss is notified";
12766                  container delay {12796                  container delay {
12767                    description12797                    description
12768                      "Penalty when a delay is notified";12798                      "Penalty when a delay is notified";
12769                    container igp-metric {12799                    container igp-metric {
12770                      description12800                      description
12771                        "Penalty on IGP metric";12801                        "Penalty on IGP metric";
12772                      leaf increment {12802                      leaf increment {
12773                        type uint32 {12803                        type uint32 {
12774                          range "1..65534" {12804                          range "1..65534" {
12775                            description12805                            description
12776                              "Increment by this value";12806                              "Increment by this value";
12777                          }12807                          }
12778                        }12808                        }
12779                        must "not(../multiplier or ../value)";12809                        must "not(../multiplier or ../value)";
12780                        description12810                        description
12781                          "Increment the IGP cost by the specified value";12811                          "Increment the IGP cost by the specified value";
12782                      }12812                      }
12783                      leaf multiplier {12813                      leaf multiplier {
12784                        type uint32 {12814                        type uint32 {
12785                          range "1..255" {12815                          range "1..255" {
12786                            description12816                            description
12787                              "Multiply by this value";12817                              "Multiply by this value";
12788                          }12818                          }
12789                        }12819                        }
12790                        must "not(../increment or ../value)";12820                        must "not(../increment or ../value)";
12791                        description12821                        description
12792                          "Multiply the IGP cost by the specified value";12822                          "Multiply the IGP cost by the specified value";
12793                      }12823                      }
12794                      leaf value {12824                      leaf value {
12795                        type uint32 {12825                        type uint32 {
12796                          range "1..65535" {12826                          range "1..65535" {
12797                            description12827                            description
12798                              "Set to this value";12828                              "Set to this value";
12799                          }12829                          }
12800                        }12830                        }
12801                        must "not(../increment or ../multiplier)";12831                        must "not(../increment or ../multiplier)";
12802                        description12832                        description
12803                          "Set the IGP cost to the specified value";12833                          "Set the IGP cost to the specified value";
12804                      }12834                      }
12805                    }12835                    }
12806                    container te-metric {12836                    container te-metric {
12807                      description12837                      description
12808                        "Penalty on TE metric";12838                        "Penalty on TE metric";
12809                      leaf increment {12839                      leaf increment {
12810                        type uint32 {12840                        type uint32 {
12811                          range "1..4294967294" {12841                          range "1..4294967294" {
12812                            description12842                            description
12813                              "Increment by this value";12843                              "Increment by this value";
12814                          }12844                          }
12815                        }12845                        }
12816                        must "not(../multiplier or ../value)";12846                        must "not(../multiplier or ../value)";
12817                        description12847                        description
12818                          "Increment the TE metric by the specified value";12848                          "Increment the TE metric by the specified value";
12819                      }12849                      }
12820                      leaf multiplier {12850                      leaf multiplier {
12821                        type uint32 {12851                        type uint32 {
12822                          range "1..255" {12852                          range "1..255" {
12823                            description12853                            description
12824                              "Multiply by this value";12854                              "Multiply by this value";
12825                          }12855                          }
12826                        }12856                        }
12827                        must "not(../increment or ../value)";12857                        must "not(../increment or ../value)";
12828                        description12858                        description
12829                          "Multiply the TE metric by the specified value";12859                          "Multiply the TE metric by the specified value";
12830                      }12860                      }
12831                      leaf value {12861                      leaf value {
12832                        type uint32 {12862                        type uint32 {
12833                          range "1..4294967295" {12863                          range "1..4294967295" {
12834                            description12864                            description
12835                              "Set to this value";12865                              "Set to this value";
12836                          }12866                          }
12837                        }12867                        }
12838                        must "not(../increment or ../multiplier)";12868                        must "not(../increment or ../multiplier)";
12839                        description12869                        description
12840                          "Set the TE cost to the specified value";12870                          "Set the TE cost to the specified value";
12841                      }12871                      }
12842                    }12872                    }
12843                  }12873                  }
12844                }12874                }
12845              }12875              }
12846              leaf hello-interval {12876              leaf hello-interval {
12847                type uint32 {12877                type uint32 {
12848                  range "1..65535" {12878                  range "1..65535" {
12849                    description12879                    description
12850                      "Seconds";12880                      "Seconds";
12851                  }12881                  }
12852                }12882                }
12853                description12883                description
12854                  "Time between HELLO packets";12884                  "Time between HELLO packets";
12855              }12885              }
12856              leaf dead-interval {12886              leaf dead-interval {
12857                type uint32 {12887                type uint32 {
12858                  range "1..65535" {12888                  range "1..65535" {
12859                    description12889                    description
12860                      "Seconds";12890                      "Seconds";
12861                  }12891                  }
12862                }12892                }
12863                must "not(../dead-interval-minimal-hello-multiplier)";12893                must "not(../dead-interval-minimal-hello-multiplier)";
12864                description12894                description
12865                  "Seconds";12895                  "Seconds";
12866              }12896              }
12867              leaf dead-interval-minimal-hello-multiplier {12897              leaf dead-interval-minimal-hello-multiplier {
12868                type uint32 {12898                type uint32 {
12869                  range "3..20" {12899                  range "3..20" {
12870                    description12900                    description
12871                      "Multiplier";12901                      "Multiplier";
12872                  }12902                  }
12873                }12903                }
12874                must "not(../dead-interval)";12904                must "not(../dead-interval)";
12875                description12905                description
12876                  "Set multiplier for Hellos";12906                  "Set multiplier for Hellos";
12877              }12907              }
12878              leaf priority {12908              leaf priority {
12879                type uint32 {12909                type uint32 {
12880                  range "0..255" {12910                  range "0..255" {
12881                    description12911                    description
12882                      "Priority";12912                      "Priority";
12883                  }12913                  }
12884                }12914                }
12885                description12915                description
12886                  "Router priority";12916                  "Router priority";
12887              }12917              }
12888              leaf retransmit-interval {12918              leaf retransmit-interval {
12889                type uint32 {12919                type uint32 {
12890                  range "1..65535" {12920                  range "1..65535" {
12891                    description12921                    description
12892                      "Seconds";12922                      "Seconds";
12893                  }12923                  }
12894                }12924                }
12895                description12925                description
12896                  "Time between retransmitting lost link state advertisements";12926                  "Time between retransmitting lost link state advertisements";
12897              }12927              }
12898              leaf transmit-delay {12928              leaf transmit-delay {
12899                type uint32 {12929                type uint32 {
12900                  range "1..65535" {12930                  range "1..65535" {
12901                    description12931                    description
12902                      "Seconds";12932                      "Seconds";
12903                  }12933                  }
12904                }12934                }
12905                description12935                description
12906                  "Estimated time needed to send link-state update packet";12936                  "Estimated time needed to send link-state update packet";
12907              }12937              }
12908              container flood-reduction {12938              container flood-reduction {
12909                description12939                description
12910                  "Enable/Disable OSPF Flood Reduction";12940                  "Enable/Disable OSPF Flood Reduction";
12911                container enable {12941                container enable {
12912                  must "not(../disable)";12942                  must "not(../disable)";
12913                  presence "Indicates a enable node is configured.";12943                  presence "Indicates a enable node is configured.";
12914                  description12944                  description
12915                    "Enable OSPF Flood Reduction";12945                    "Enable OSPF Flood Reduction";
12916                }12946                }
12917                container disable {12947                container disable {
12918                  must "not(../enable)";12948                  must "not(../enable)";
12919                  presence "Indicates a disable node is configured.";12949                  presence "Indicates a disable node is configured.";
12920                  description12950                  description
12921                    "Disable OSPF Flood Reduction";12951                    "Disable OSPF Flood Reduction";
12922                }12952                }
12923              }12953              }
12924              container demand-circuit {12954              container demand-circuit {
12925                description12955                description
12926                  "Enable/Disable OSPF demand circuit";12956                  "Enable/Disable OSPF demand circuit";
12927                container enable {12957                container enable {
12928                  must "not(../disable)";12958                  must "not(../disable)";
12929                  presence "Indicates a enable node is configured.";12959                  presence "Indicates a enable node is configured.";
12930                  description12960                  description
12931                    "Enable OSPF demand circuit";12961                    "Enable OSPF demand circuit";
12932                }12962                }
12933                container disable {12963                container disable {
12934                  must "not(../enable)";12964                  must "not(../enable)";
12935                  presence "Indicates a disable node is configured.";12965                  presence "Indicates a disable node is configured.";
12936                  description12966                  description
12937                    "Disable OSPF demand circuit";12967                    "Disable OSPF demand circuit";
12938                }12968                }
12939              }12969              }
12940              container mtu-ignore {12970              container mtu-ignore {
12941                description12971                description
12942                  "Enable/Disable ignoring of MTU in DBD packets";12972                  "Enable/Disable ignoring of MTU in DBD packets";
12943                container enable {12973                container enable {
12944                  must "not(../disable)";12974                  must "not(../disable)";
12945                  presence "Indicates a enable node is configured.";12975                  presence "Indicates a enable node is configured.";
12946                  description12976                  description
12947                    "Ignores the MTU in DBD packets";12977                    "Ignores the MTU in DBD packets";
12948                }12978                }
12949                container disable {12979                container disable {
12950                  must "not(../enable)";12980                  must "not(../enable)";
12951                  presence "Indicates a disable node is configured.";12981                  presence "Indicates a disable node is configured.";
12952                  description12982                  description
12953                    "Disable ignoring the MTU in DBD packets";12983                    "Disable ignoring the MTU in DBD packets";
12954                }12984                }
12955              }12985              }
12956              container database-filter {12986              container database-filter {
12957                description12987                description
12958                  "Filter OSPF LSA during synchronization and flooding";12988                  "Filter OSPF LSA during synchronization and flooding";
12959                container all {12989                container all {
12960                  description12990                  description
12961                    "Filter all LSA";12991                    "Filter all LSA";
12962                  container out {12992                  container out {
12963                    description12993                    description
12964                      "Outgoing LSA";12994                      "Outgoing LSA";
12965                    container enable {12995                    container enable {
12966                      must "not(../disable)";12996                      must "not(../disable)";
12967                      presence "Indicates a enable node is configured.";12997                      presence "Indicates a enable node is configured.";
12968                      description12998                      description
12969                        "Enable filtering";12999                        "Enable filtering";
12970                    }13000                    }
12971                    container disable {13001                    container disable {
12972                      must "not(../enable)";13002                      must "not(../enable)";
12973                      presence "Indicates a disable node is configured.";13003                      presence "Indicates a disable node is configured.";
12974                      description13004                      description
12975                        "Disable filtering";13005                        "Disable filtering";
12976                    }13006                    }
12977                  }13007                  }
12978                }13008                }
12979              }13009              }
12980              container passive {13010              container passive {
12981                description13011                description
12982                  "Enable/Disable passive";13012                  "Enable/Disable passive";
12983                container enable {13013                container enable {
12984                  must "not(../disable)";13014                  must "not(../disable)";
12985                  presence "Indicates a enable node is configured.";13015                  presence "Indicates a enable node is configured.";
12986                  description13016                  description
12987                    "Enable passive";13017                    "Enable passive";
12988                }13018                }
12989                container disable {13019                container disable {
12990                  must "not(../enable)";13020                  must "not(../enable)";
12991                  presence "Indicates a disable node is configured.";13021                  presence "Indicates a disable node is configured.";
12992                  description13022                  description
12993                    "Disable passive";13023                    "Disable passive";
12994                }13024                }
12995              }13025              }
12996              container external-out {13026              container external-out {
12997                description13027                description
12998                  "Enable/Disable advertisement of intra-area prefixes as external";13028                  "Enable/Disable advertisement of intra-area prefixes as external";
12999                container enable {13029                container enable {
13000                  must "not(../disable)";13030                  must "not(../disable)";
13001                  presence "Indicates a enable node is configured.";13031                  presence "Indicates a enable node is configured.";
13002                  description13032                  description
13003                    "Enable advertisement of intra-area routes as external";13033                    "Enable advertisement of intra-area routes as external";
13004                }13034                }
13005                container disable {13035                container disable {
13006                  must "not(../enable)";13036                  must "not(../enable)";
13007                  presence "Indicates a disable node is configured.";13037                  presence "Indicates a disable node is configured.";
13008                  description13038                  description
13009                    "Disable advertisement of intra-area routes as external";13039                    "Disable advertisement of intra-area routes as external";
13010                }13040                }
13011              }13041              }
13012              container summary-in {13042              container summary-in {
13013                description13043                description
13014                  "Enable/Disable advertisement of external prefixes as inter-area";13044                  "Enable/Disable advertisement of external prefixes as inter-area";
13015                container enable {13045                container enable {
13016                  must "not(../disable)";13046                  must "not(../disable)";
13017                  presence "Indicates a enable node is configured.";13047                  presence "Indicates a enable node is configured.";
13018                  description13048                  description
13019                    "Enable advertisement of external prefixes as inter-area";13049                    "Enable advertisement of external prefixes as inter-area";
13020                }13050                }
13021                container disable {13051                container disable {
13022                  must "not(../enable)";13052                  must "not(../enable)";
13023                  presence "Indicates a disable node is configured.";13053                  presence "Indicates a disable node is configured.";
13024                  description13054                  description
13025                    "Disable advertisement of external prefixes as inter-area";13055                    "Disable advertisement of external prefixes as inter-area";
13026                }13056                }
13027              }13057              }
13028              container adjacency {13058              container adjacency {
13029                description13059                description
13030                  "OSPF adjacency bring up";13060                  "OSPF adjacency bring up";
13031                container stagger {13061                container stagger {
13032                  description13062                  description
13033                    "Stagger OSPF adjacency bring up";13063                    "Stagger OSPF adjacency bring up";
13034                  container disable {13064                  container disable {
13035                    must "not(../initial-number-of-neighbors)";13065                    must "not(../initial-number-of-neighbors)";
13036                    presence "Indicates a disable node is configured.";13066                    presence "Indicates a disable node is configured.";
13037                    description13067                    description
13038                      "Disable stagger OSPF adjacency bring up";13068                      "Disable stagger OSPF adjacency bring up";
13039                  }13069                  }
13040                  leaf initial-number-of-neighbors {13070                  leaf initial-number-of-neighbors {
13041                    type uint32 {13071                    type uint32 {
13042                      range "1..65535" {13072                      range "1..65535" {
13043                        description13073                        description
13044                          "Initial number of neighbors to bring up per area (default 2)";13074                          "Initial number of neighbors to bring up per area (default 2)";
13045                      }13075                      }
13046                    }13076                    }
13047                    must "not(../disable)";13077                    must "not(../disable)";
13048                    description13078                    description
13049                      "Initial number of neighbors to bring up per area (default 2)";13079                      "Initial number of neighbors to bring up per area (default 2)";
13050                  }13080                  }
13051                  leaf maximum-simultaneous-neighbors {13081                  leaf maximum-simultaneous-neighbors {
13052                    type uint32 {13082                    type uint32 {
13053                      range "1..65535" {13083                      range "1..65535" {
13054                        description13084                        description
13055                          "Maximum simultaneous neighbors to bring up (default 64)";13085                          "Maximum simultaneous neighbors to bring up (default 64)";
13056                      }13086                      }
13057                    }13087                    }
13058                    must "../initial-number-of-neighbors";13088                    must "../initial-number-of-neighbors";
13059                    description13089                    description
13060                      "Maximum simultaneous neighbors to bring up (default 64)";13090                      "Maximum simultaneous neighbors to bring up (default 64)";
13061                  }13091                  }
13062                }13092                }
13063              }13093              }
13064              container snmp {13094              container snmp {
13065                description13095                description
13066                  "SNMP configuration";13096                  "SNMP configuration";
13067                leaf context {13097                leaf context {
13068                  type string {13098                  type string {
13069                    length "1..32" {13099                    length "1..32" {
13070                      description13100                      description
13071                        "SNMP context name";13101                        "SNMP context name";
13072                    }13102                    }
13073                    pattern "[a-zA-Z0-9*/_]+";13103                    pattern "[a-zA-Z0-9*/_]+";
13074                  }13104                  }
13075                  description13105                  description
13076                    "Specified SNMP context for OSPF instance";13106                    "Specified SNMP context for OSPF instance";
13077                }13107                }
13078                container trap {13108                container trap {
13079                  presence "Indicates a trap node is configured.";13109                  presence "Indicates a trap node is configured.";
13080                  description13110                  description
13081                    "Enable SNMP trap for OSPF instance";13111                    "Enable SNMP trap for OSPF instance";
13082                }13112                }
13083              }13113              }
13084              container ucmp {13114              container ucmp {
13085                description13115                description
13086                  "Unequal Cost Load Balancing";13116                  "Unequal Cost Load Balancing";
13087                container enable {13117                container enable {
13088                  presence "Indicates a ucmp node is configured.";13118                  presence "Indicates a ucmp node is configured.";
13089                  description13119                  description
13090                    "Enable ucmp";13120                    "Enable ucmp";
13091                  leaf variance {13121                  leaf variance {
13092                    type uint32 {13122                    type uint32 {
13093                      range "101..10000" {13123                      range "101..10000" {
13094                        description13124                        description
13095                          "Percentage of the primary path metric";13125                          "Percentage of the primary path metric";
13096                      }13126                      }
13097                    }13127                    }
13098                    default "200";13128                    default "200";
13099                    description13129                    description
13100                      "Set the Variance for UCMP path metric";13130                      "Set the Variance for UCMP path metric";
13101                  }13131                  }
13102                  leaf prefix-list {13132                  leaf prefix-list {
13103                    type string {13133                    type string {
13104                      length "1..1024" {13134                      length "1..1024" {
13105                        description13135                        description
13106                          "Prefix-list name";13136                          "Prefix-list name";
13107                      }13137                      }
13108                    }13138                    }
13109                    description13139                    description
13110                      "Filter prefixes for which UCMP path are calculated";13140                      "Filter prefixes for which UCMP path are calculated";
13111                  }13141                  }
13112                }13142                }
13113                container exclude {13143                container exclude {
13114                  description13144                  description
13115                    "UCMP exclusion information";13145                    "UCMP exclusion information";
13116                  container interfaces {13146                  container interfaces {
13117                    description13147                    description
13118                      "Exclude an interface during UCMP computation";13148                      "Exclude an interface during UCMP computation";
13119                    list interface {13149                    list interface {
13120                      key "interface-name";13150                      key "interface-name";
13121                      description13151                      description
13122                        "Exclude an interface during UCMP computation";13152                        "Exclude an interface during UCMP computation";
13123                      leaf interface-name {13153                      leaf interface-name {
13124                        type xr:Interface-name;13154                        type xr:Interface-name;
13125                        description13155                        description
13126                          "Exclude an interface during UCMP computation";13156                          "Exclude an interface during UCMP computation";
13127                      }13157                      }
13128                    }13158                    }
13129                  }13159                  }
13130                }13160                }
13131                leaf delay-interval {13161                leaf delay-interval {
13132                  type uint32 {13162                  type uint32 {
13133                    range "1..5000" {13163                    range "1..5000" {
13134                      description13164                      description
13135                        "ms";13165                        "ms";
13136                    }13166                    }
13137                  }13167                  }
13138                  description13168                  description
13139                    "Interval between SPF and start of the UCMP calculation";13169                    "Interval between SPF and start of the UCMP calculation";
13140                }13170                }
13141              }13171              }
13142              container apply-weight {13172              container apply-weight {
13143                description13173                description
13144                  "Enable weights configured under interfaces for load sharing";13174                  "Enable weights configured under interfaces for load sharing";
13145                leaf bandwidth {13175                leaf bandwidth {
13146                  type uint32 {13176                  type uint32 {
13147                    range "1..4294967" {13177                    range "1..4294967" {
13148                      description13178                      description
13149                        "Reference bandwidth to use for calculation (Mbits/sec)";13179                        "Reference bandwidth to use for calculation (Mbits/sec)";
13150                    }13180                    }
13151                  }13181                  }
13152                  description13182                  description
13153                    "Use interface bandwidth when calculating weights";13183                    "Use interface bandwidth when calculating weights";
13154                }13184                }
13155                leaf default-weight {13185                leaf default-weight {
13156                  type uint32 {13186                  type uint32 {
13157                    range "1..16777214" {13187                    range "1..16777214" {
13158                      description13188                      description
13159                        "Weight to use when it is not configured under interface";13189                        "Weight to use when it is not configured under interface";
13160                    }13190                    }
13161                  }13191                  }
13162                  description13192                  description
13163                    "Specify default weight value";13193                    "Specify default weight value";
13164                }13194                }
13165              }13195              }
13166              container max-external-lsa {13196              container max-external-lsa {
13167                presence "Indicates a max-extern-lsa node is configured.";13197                presence "Indicates a max-extern-lsa node is configured.";
13168                description13198                description
13169                  "Maximum number of external LSAs OSPF process will receive";13199                  "Maximum number of external LSAs OSPF process will receive";
13170                leaf max-external-lsa {13200                leaf max-external-lsa {
13171                  type uint32 {13201                  type uint32 {
13172                    range "1..4294967294" {13202                    range "1..4294967294" {
13173                      description13203                      description
13174                        "Maximum number of external LSAs per ASBR this OSPF instance can receive";13204                        "Maximum number of external LSAs per ASBR this OSPF instance can receive";
13175                    }13205                    }
13176                  }13206                  }
13177                  mandatory true;13207                  mandatory true;
13178                  description13208                  description
13179                    "Maximum number of External LSAs per ASBR";13209                    "Maximum number of External LSAs per ASBR";
13180                }13210                }
13181                leaf threshold-value {13211                leaf threshold-value {
13182                  type uint32 {13212                  type uint32 {
13183                    range "1..100" {13213                    range "1..100" {
13184                      description13214                      description
13185                        "Threshold value (%) at which to generate a warning msg";13215                        "Threshold value (%) at which to generate a warning msg";
13186                    }13216                    }
13187                  }13217                  }
13188                  description13218                  description
13189                    "Threshold value (%) at which to generate a warning msg";13219                    "Threshold value (%) at which to generate a warning msg";
13190                }13220                }
13191                container suppress-neighbor {13221                container suppress-neighbor {
13192                  must "not(../warning-only)";13222                  must "not(../warning-only)";
13193                  presence "Indicates a suppress-neighbor node is configured.";13223                  presence "Indicates a suppress-neighbor node is configured.";
13194                  description13224                  description
13195                    "Suppress the neighbor when limit is crossed";13225                    "Suppress the neighbor when limit is crossed";
13196                }13226                }
13197                container warning-only {13227                container warning-only {
13198                  must "not(../suppress-neighbor)";13228                  must "not(../suppress-neighbor)";
13199                  presence "Indicates a warning-only node is configured.";13229                  presence "Indicates a warning-only node is configured.";
13200                  description13230                  description
13201                    "Only give warning message when limit is exceeded";13231                    "Only give warning message when limit is exceeded";
13202                }13232                }
13203              }13233              }
13204              container exchange-timer {13234              container exchange-timer {
13205                presence "Indicates a exchange hold timer is configured.";13235                presence "Indicates a exchange hold timer is configured.";
13206                description13236                description
13207                  "Time after which interface will be brought down or up.";13237                  "Time after which interface will be brought down or up.";
13208                leaf exchange-timer {13238                leaf exchange-timer {
13209                  type uint32 {13239                  type uint32 {
13210                    range "1..35791394" {13240                    range "1..35791394" {
13211                      description13241                      description
13212                        "Exchange time in minutes";13242                        "Exchange time in minutes";
13213                    }13243                    }
13214                  }13244                  }
13215                  mandatory true;13245                  mandatory true;
13216                  description13246                  description
13217                    "Time in minutes after which interface will be brought down if adjacency is stuck in exchange/loading";13247                    "Time in minutes after which interface will be brought down if adjacency is stuck in exchange/loading";
13218                }13248                }
13219                leaf hold-time {13249                leaf hold-time {
13220                  type uint32 {13250                  type uint32 {
13221                    range "1..35791394" {13251                    range "1..35791394" {
13222                      description13252                      description
13223                        "Recovery time in minutes";13253                        "Recovery time in minutes";
13224                    }13254                    }
13225                  }13255                  }
13226                  description13256                  description
13227                    "Time in minutes after which interface will be brought up to recover adjacencies";13257                    "Time in minutes after which interface will be brought up to recover adjacencies";
13228                }13258                }
13229                leaf recovery-count {13259                leaf recovery-count {
13230                  type uint32 {13260                  type uint32 {
13231                    range "1..4294967294" {13261                    range "1..4294967294" {
13232                      description13262                      description
13233                        "Recovery count value";13263                        "Recovery count value";
13234                    }13264                    }
13235                  }13265                  }
13236                  description13266                  description
13237                    "Number of times recovery will be attempted before the interface is made permanently down";13267                    "Number of times recovery will be attempted before the interface is made permanently down";
13238                }13268                }
13239              }13269              }
13240            }13270            }
13241          }13271          }
13242        }13272        }
13243      }13273      }
13244    }13274    }
13245  }13275  }
13246}13276}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op